This documentation is archived and is not being maintained.

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: