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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.