WebHttpBehavior.AddServerErrorHandlers Méthode

Définition

Remplacez cette méthode pour modifier le traitement des erreurs qui se produisent sur le service.

C#
protected virtual void AddServerErrorHandlers (System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Dispatcher.EndpointDispatcher endpointDispatcher);

Paramètres

endpoint
ServiceEndpoint

Point de terminaison du service.

endpointDispatcher
EndpointDispatcher

Répartiteur de points de terminaison.

S’applique à

Produit Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8