Delen via


TeamFoundationApplicationCore.CompleteRequest Method (TeamFoundationRequestContext, HttpApplication, HttpStatusCode, Exception)

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

Exceptions

Exception Condition
ThreadAbortException

Thrown to terminate execution of this web request.

.NET Framework Security

See Also

Reference

TeamFoundationApplicationCore Class

CompleteRequest Overload

Microsoft.TeamFoundation.Framework.Server Namespace