DataService<T>.HandleException(HandleExceptionArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.