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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.