Condividi tramite


HandleExceptionArgs.Exception Proprietà

Definizione

Ottiene o imposta l'eccezione che sarà elaborata e restituita nella risposta.

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

Valore della proprietà

L'eccezione che sarà elaborata e restituita nella risposta.

Commenti

Se l'eccezione è un oggetto DataServiceException, il messaggio dell'eccezione sarà restituito sempre al client, indipendentemente dal valore UseVerboseErrors. Se UseVerboseErrors è true, le eccezioni interne saranno restituite anche al client; in caso contrario sarà restituito solo il messaggio DataServiceException.

Si applica a