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
)

Parameters

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
Show: