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