WebHttpBehavior.AddServerErrorHandlers Methode

Definition

Überschreiben Sie diese Methode, um die Handhabung von Fehlern zu ändern, die in diesem Dienst auftreten.

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)

Parameter

endpoint
ServiceEndpoint

Der Dienstendpunkt.

endpointDispatcher
EndpointDispatcher

Der Endpunktverteiler.

Gilt für