WebHttpBehavior.AddServerErrorHandlers Método

Definição

Substitua este método para alterar a forma como os erros que ocorrem no serviço são tratados.

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)

Parâmetros

endpoint
ServiceEndpoint

O ponto de extremidade do serviço.

endpointDispatcher
EndpointDispatcher

O despachante do endpoint.

Aplica-se a