SqlDataSourceStatusEventArgs.Exception Proprietà

Definizione

Ottiene un wrapper per le eccezioni generate dal database durante un'operazione sui dati.

public:
 property Exception ^ Exception { Exception ^ get(); };
public Exception Exception { get; }
member this.Exception : Exception
Public ReadOnly Property Exception As Exception

Valore della proprietà

Exception

Eccezione Exception che include tutte le eccezioni generate dal database nella relativa proprietà InnerException.

Commenti

La Exception proprietà non rappresenta l'eccezione effettiva generata dall'operazione di database. È possibile accedere all'eccezione generata usando la InnerException proprietà .

Si applica a

Vedi anche