Udostępnij przez


EntityCommandExecutionException Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy EntityCommandExecutionException.

Przeciążenia

Uwagi

Aby uzyskać więcej informacji na temat obsługi wyjątków kodu, zobacz Exception.

EntityCommandExecutionException()

Inicjuje nowe wystąpienie klasy EntityCommandExecutionException.

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

Uwagi

Aby uzyskać więcej informacji na temat obsługi wyjątków kodu, zobacz Exception.

Dotyczy

EntityCommandExecutionException(String)

Inicjuje nowe wystąpienie klasy EntityCommandExecutionException.

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

Parametry

message
String

Komunikat z opisem błędu.

Uwagi

Aby uzyskać więcej informacji na temat obsługi wyjątków kodu, zobacz Exception.

Dotyczy

EntityCommandExecutionException(String, Exception)

Inicjuje nowe wystąpienie klasy 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)

Parametry

message
String

Komunikat o błędzie wyjaśniający przyczynę wyjątku.

innerException
Exception

Wyjątek, który spowodował bieżący wyjątek lub null odwołanie (Nothing w Visual Basic), jeśli nie określono wyjątku wewnętrznego.

Uwagi

Aby uzyskać więcej informacji na temat obsługi wyjątków kodu, zobacz Exception.

Dotyczy