WebHttpBehavior.AddServerErrorHandlers Method (ServiceEndpoint, EndpointDispatcher)

 

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

Namespace:   System.ServiceModel.Description
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.dll)

protected virtual void AddServerErrorHandlers(
	ServiceEndpoint endpoint,
	EndpointDispatcher endpointDispatcher
)

Parameters

endpoint
Type: System.ServiceModel.Description.ServiceEndpoint

The service endpoint.

endpointDispatcher
Type: System.ServiceModel.Dispatcher.EndpointDispatcher

The endpoint dispatcher.

.NET Framework
Available since 3.5
Return to top
Show: