Redigera

Dela via


HandleExceptionArgs.Exception Property

Definition

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.

Applies to