Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

public delegate bool ErrorFormatterDelegate(
	HttpContext httpContext,
	HttpStatusCode statusCode,
	Exception exception,
	string errorMessage,
	string responseText
)

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
Show:
© 2015 Microsoft