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
)

参数

返回值

类型:System.Boolean

请参阅

参考

Microsoft.TeamFoundation.Framework.Server 命名空间