Udostępnij przez


EntityCommandExecutionException Konstruktory

Definicja

Przeciążenia

EntityCommandExecutionException()

Inicjuje nowe wystąpienie klasy EntityCommandExecutionException.

public EntityCommandExecutionException();
Public Sub New ()

Dotyczy

EntityCommandExecutionException(String)

Inicjuje nowe wystąpienie klasy EntityCommandExecutionException.

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

Parametry

message
String

Komunikat z opisem błędu.

Dotyczy

EntityCommandExecutionException(String, Exception)

Inicjuje nowe wystąpienie klasy EntityCommandExecutionException.

public EntityCommandExecutionException(string message, Exception innerException);
new System.Data.Entity.Core.EntityCommandExecutionException : string * Exception -> System.Data.Entity.Core.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 odwołanie o wartości null (Nic w Visual Basic), jeśli nie określono wyjątku wewnętrznego.

Dotyczy