Freigeben über


TeamFoundationApplicationCore.CompleteRequest-Methode (HttpApplication, HttpStatusCode, String, IEnumerable<KeyValuePair<String, String>>, Exception, String, String)

Beenden Sie die Verarbeitung für Pipeline eine Webanforderung.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Shared Sub CompleteRequest ( _
    application As HttpApplication, _
    statusCode As HttpStatusCode, _
    statusDescription As String, _
    extraHeaders As IEnumerable(Of KeyValuePair(Of String, String)), _
    exception As Exception, _
    errorMessage As String, _
    responseText As String _
)
public static void CompleteRequest(
    HttpApplication application,
    HttpStatusCode statusCode,
    string statusDescription,
    IEnumerable<KeyValuePair<string, string>> extraHeaders,
    Exception exception,
    string errorMessage,
    string responseText
)

Parameter

  • statusDescription
    Typ: System.String
    Optionaler Statusbeschreibungstext.Führen Sie NULL für die Standardstatus-Beschreibungsmeldung.
  • exception
    Typ: System.Exception
    Optionales Ausnahmeobjekt, um Fortschritte des Codes, statusDescription, des errorMessage und des responseText abzuleiten

.NET Framework-Sicherheit

Siehe auch

Referenz

TeamFoundationApplicationCore Klasse

CompleteRequest-Überladung

Microsoft.TeamFoundation.Framework.Server-Namespace