Delegato ErrorFormatterDelegate
Un delegato utilizzato per gli eventi associati di OnFormatError.
Spazio dei nomi: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Sintassi
'Dichiarazione
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
)
Parametri
- httpContext
Tipo: System.Web.HttpContext
- statusCode
Tipo: System.Net.HttpStatusCode
- exception
Tipo: System.Exception
- errorMessage
Tipo: System.String
- responseText
Tipo: System.String
Valore restituito
Tipo: System.Boolean