EntityCommandExecutionException Konstruktorer

Definition

Initierar en ny instans av EntityCommandExecutionException.

Överlagringar

Kommentarer

Mer information om hur du hanterar kodfel finns i Exception.

EntityCommandExecutionException()

Initierar en ny instans av EntityCommandExecutionException.

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

Kommentarer

Mer information om hur du hanterar kodfel finns i Exception.

Gäller för

EntityCommandExecutionException(String)

Initierar en ny instans av EntityCommandExecutionException.

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

Parametrar

message
String

Meddelandet som beskriver felet.

Kommentarer

Mer information om hur du hanterar kodfel finns i Exception.

Gäller för

EntityCommandExecutionException(String, Exception)

Initierar en ny instans av 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)

Parametrar

message
String

Felmeddelandet som förklarar orsaken till undantaget.

innerException
Exception

Undantaget som orsakade det aktuella undantaget eller en null referens (Nothing i Visual Basic) om inget inre undantag har angetts.

Kommentarer

Mer information om hur du hanterar kodfel finns i Exception.

Gäller för