HandleException Method
Collapse the table of content
Expand the table of content

DataService<T>.HandleException Method (HandleExceptionArgs)


Called when an exception is raised while processing a request.

Namespace:   System.Data.Services
Assembly:  System.Data.Services (in System.Data.Services.dll)

protected virtual void HandleException(
	HandleExceptionArgs args


Type: System.Data.Services.HandleExceptionArgs

Exception arguments.

A data service may modify the args instance to customize how the exception will be sent in the response.

.NET Framework
Available since 3.5
Return to top
© 2016 Microsoft