DataService<T>.HandleException Method

Called when an exception is raised while processing a request.

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

Syntax

'Declaration
Protected Overridable Sub HandleException ( _
    args As HandleExceptionArgs _
)
'Usage
Dim args As HandleExceptionArgs 

Me.HandleException(args)
protected virtual void HandleException(
    HandleExceptionArgs args
)
protected:
virtual void HandleException(
    HandleExceptionArgs^ args
)
abstract HandleException : 
        args:HandleExceptionArgs -> unit  
override HandleException : 
        args:HandleExceptionArgs -> unit
protected function HandleException(
    args : HandleExceptionArgs
)

Parameters

Remarks

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

See Also

Reference

DataService<T> Class

System.Data.Services Namespace