命名空间: 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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。