EntityCommandExecutionException Costruttori

Definizione

Inizializza una nuova istanza di EntityCommandExecutionException.

Overload

Commenti

Per altre informazioni su come gestire le eccezioni di codice, vedere Exception.

EntityCommandExecutionException()

Inizializza una nuova istanza di EntityCommandExecutionException.

public:
 EntityCommandExecutionException();
public EntityCommandExecutionException();
Public Sub New ()

Commenti

Per altre informazioni su come gestire le eccezioni di codice, vedere Exception.

Si applica a

EntityCommandExecutionException(String)

Inizializza una nuova istanza di EntityCommandExecutionException.

public:
 EntityCommandExecutionException(System::String ^ message);
public EntityCommandExecutionException(string message);
new System.Data.EntityCommandExecutionException : string -> System.Data.EntityCommandExecutionException
Public Sub New (message As String)

Parametri

message
String

Messaggio che descrive l'errore.

Commenti

Per altre informazioni su come gestire le eccezioni di codice, vedere Exception.

Si applica a

EntityCommandExecutionException(String, Exception)

Inizializza una nuova istanza di EntityCommandExecutionException.

public:
 EntityCommandExecutionException(System::String ^ message, Exception ^ innerException);
public EntityCommandExecutionException(string message, Exception innerException);
new System.Data.EntityCommandExecutionException : string * Exception -> System.Data.EntityCommandExecutionException
Public Sub New (message As String, innerException As Exception)

Parametri

message
String

Messaggio di errore che spiega il motivo dell'eccezione.

innerException
Exception

Eccezione che ha causato l'eccezione corrente o un riferimento /null (Nothing in Visual Basic) se non viene specificata alcuna eccezione interna.

Commenti

Per altre informazioni su come gestire le eccezioni di codice, vedere Exception.

Si applica a