Delen via


ErrorFormatterDelegate Delegate

A delegate used for subscribers of OnFormatError event.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
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
)
public delegate bool ErrorFormatterDelegate(
    HttpContext^ httpContext, 
    HttpStatusCode statusCode, 
    Exception^ exception, 
    String^ errorMessage, 
    String^ responseText
)
type ErrorFormatterDelegate = 
    delegate of  
        httpContext:HttpContext * 
        statusCode:HttpStatusCode * 
        exception:Exception * 
        errorMessage:string * 
        responseText:string -> bool
JScript does not support delegates.

Parameters

Return Value

Type: System.Boolean

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace