Redigera

Dela via


DataService<T>.HandleException(HandleExceptionArgs) Method

Definition

Called when an exception is raised while processing a request.

protected:
 virtual void HandleException(System::Data::Services::HandleExceptionArgs ^ args);
protected virtual void HandleException (System.Data.Services.HandleExceptionArgs args);
abstract member HandleException : System.Data.Services.HandleExceptionArgs -> unit
override this.HandleException : System.Data.Services.HandleExceptionArgs -> unit
Protected Overridable Sub HandleException (args As HandleExceptionArgs)

Parameters

args
HandleExceptionArgs

Exception arguments.

Remarks

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

Applies to