LeaveMethod is called when the method is completed. Once EnterMethod is called LeaveMethod should always be called also.
Exceptions are ignored because the request is now completed.
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Sub LeaveMethod ( _
    requestContext As TeamFoundationRequestContext _
)
void LeaveMethod(
    TeamFoundationRequestContext requestContext
)
void LeaveMethod(
    TeamFoundationRequestContext^ requestContext
)
abstract LeaveMethod : 
        requestContext:TeamFoundationRequestContext -> unit
function LeaveMethod(
    requestContext : TeamFoundationRequestContext
)
Parameters
- requestContext 
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext- RequestContext being used to execute this request 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.