WebHttpBehavior.AddServerErrorHandlers Méthode

Définition

Remplacez cette méthode pour modifier la façon dont les erreurs qui se produisent sur le service sont gérées.

protected:
 virtual void AddServerErrorHandlers(System::ServiceModel::Description::ServiceEndpoint ^ endpoint, System::ServiceModel::Dispatcher::EndpointDispatcher ^ endpointDispatcher);
protected virtual void AddServerErrorHandlers(System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Dispatcher.EndpointDispatcher endpointDispatcher);
abstract member AddServerErrorHandlers : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Dispatcher.EndpointDispatcher -> unit
override this.AddServerErrorHandlers : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Dispatcher.EndpointDispatcher -> unit
Protected Overridable Sub AddServerErrorHandlers (endpoint As ServiceEndpoint, endpointDispatcher As EndpointDispatcher)

Paramètres

endpoint
ServiceEndpoint

Point de terminaison du service.

endpointDispatcher
EndpointDispatcher

Répartiteur de point de terminaison.

S’applique à