Прочетете на английски Редактиране

Споделяне чрез


WebHttpBehavior.AddServerErrorHandlers Method

Definition

Override this method to change the way errors that occur on the service are handled.

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

Parameters

endpoint
ServiceEndpoint

The service endpoint.

endpointDispatcher
EndpointDispatcher

The endpoint dispatcher.

Applies to

Продукт Версии
.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, 4.8.1