ErrorFormatterDelegate, délégué
Un délégué utilisé pour les abonnés d'événement OnFormatError.
Espace de noms : Microsoft.TeamFoundation.Framework.Server
Assembly : Microsoft.TeamFoundation.Framework.Server (dans Microsoft.TeamFoundation.Framework.Server.dll)
Syntaxe
'Déclaration
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
)
Paramètres
- httpContext
Type : System.Web.HttpContext
- statusCode
Type : System.Net.HttpStatusCode
- exception
Type : System.Exception
- errorMessage
Type : System.String
- responseText
Type : System.String
Valeur de retour
Type : System.Boolean