ErrorFormatterDelegate 委派
在 OnFormatError 事件的訂閱者的委派。
命名空間: Microsoft.TeamFoundation.Framework.Server
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
Public Delegate Function ErrorFormatterDelegate ( _
httpContext As HttpContext, _
statusCode As HttpStatusCode, _
exception As Exception, _
errorMessage As String, _
responseText As String _
) As Boolean
public delegate bool ErrorFormatterDelegate(
HttpContext httpContext,
HttpStatusCode statusCode,
Exception exception,
string errorMessage,
string responseText
)
參數
- httpContext
類型:System.Web.HttpContext
- statusCode
類型:System.Net.HttpStatusCode
- exception
類型:System.Exception
- errorMessage
類型:System.String
- responseText
類型:System.String