TeamFoundationApplicationCore.CompleteRequest 方法 (HttpApplication, HttpStatusCode, String, IEnumerable<KeyValuePair<String, String>>, Exception, String, String)
命名空間: Microsoft.TeamFoundation.Framework.Server
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
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
)
參數
- application
型別:System.Web.HttpApplication
- statusCode
型別:System.Net.HttpStatusCode
- statusDescription
型別:System.String
- extraHeaders
型別:System.Collections.Generic.IEnumerable<KeyValuePair<String, String>>
- exception
型別:System.Exception
- errorMessage
型別:System.String
- responseText
型別:System.String
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。