HandleExceptionArgs.Exception Property
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.
Gets or sets the exception that will be processed and returned in the response.
public:
property Exception ^ Exception { Exception ^ get(); void set(Exception ^ value); };
public Exception Exception { get; set; }
member this.Exception : Exception with get, set
Public Property Exception As Exception
Property Value
The exception that will be processed and returned in the response.
Remarks
If the exception is a DataServiceException, the message of the exception will always be returned to the client, regardless of the UseVerboseErrors value. If UseVerboseErrors is true, the inner exceptions will also be returned to the client; otherwise only the DataServiceException message will be returned.