EntityCommandExecutionException Constructeurs

Définition

Initialise une nouvelle instance de EntityCommandExecutionException.

Surcharges

Remarques

Pour plus d’informations sur la gestion des exceptions de code, consultez Exception.

EntityCommandExecutionException()

Initialise une nouvelle instance de EntityCommandExecutionException.

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

Remarques

Pour plus d’informations sur la gestion des exceptions de code, consultez Exception.

S’applique à

EntityCommandExecutionException(String)

Initialise une nouvelle instance de EntityCommandExecutionException.

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

Paramètres

message
String

Message qui décrit l’erreur.

Remarques

Pour plus d’informations sur la gestion des exceptions de code, consultez Exception.

S’applique à

EntityCommandExecutionException(String, Exception)

Initialise une nouvelle instance de 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)

Paramètres

message
String

Message d’erreur qui explique la raison de l’exception.

innerException
Exception

Exception qui a provoqué l’exception actuelle ou une référence null (Nothing dans Visual Basic) si aucune exception interne n’est spécifiée.

Remarques

Pour plus d’informations sur la gestion des exceptions de code, consultez Exception.

S’applique à