Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Terminate the processing pipeline for a web request and throw a ThreadAbortException. See overload.
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Shared Sub CompleteRequest ( _
    requestContext As TeamFoundationRequestContext, _
    application As HttpApplication, _
    statusCode As HttpStatusCode, _
    exception As Exception _
)
public static void CompleteRequest(
    TeamFoundationRequestContext requestContext,
    HttpApplication application,
    HttpStatusCode statusCode,
    Exception exception
)
public:
static void CompleteRequest(
    TeamFoundationRequestContext^ requestContext, 
    HttpApplication^ application, 
    HttpStatusCode statusCode, 
    Exception^ exception
)
static member CompleteRequest : 
        requestContext:TeamFoundationRequestContext * 
        application:HttpApplication * 
        statusCode:HttpStatusCode * 
        exception:Exception -> unit
public static function CompleteRequest(
    requestContext : TeamFoundationRequestContext, 
    application : HttpApplication, 
    statusCode : HttpStatusCode, 
    exception : Exception
)
Parameters
- requestContext
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- application
 Type: System.Web.HttpApplication
- statusCode
 Type: System.Net.HttpStatusCode
- exception
 Type: System.Exception
Exceptions
| Exception | Condition | 
|---|---|
| ThreadAbortException | Thrown to terminate execution of this web 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.