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
- httpContext
Type: System.Web.HttpContext
- statusCode
Type: System.Net.HttpStatusCode
- exception
Type: System.Exception
- errorMessage
Type: System.String
- responseText
Type: System.String
Return Value
Type: System.Boolean