Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AddServerErrorHandlers Method

WebHttpBehavior.AddServerErrorHandlers Method

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

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 3.5 SP1
Show:
© 2015 Microsoft