EntityCommandCompilationException Konstruktorer

Definition

Initierar en ny instans av EntityCommandCompilationException.

Överlagringar

Kommentarer

Mer information om hur du hanterar kodfel finns i Exception.

EntityCommandCompilationException()

Initierar en ny instans av EntityCommandCompilationException.

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

Kommentarer

Mer information om hur du hanterar undantagskod finns i Exception.

Gäller för

EntityCommandCompilationException(String)

Initierar en ny instans av EntityCommandCompilationException.

public:
 EntityCommandCompilationException(System::String ^ message);
public EntityCommandCompilationException(string message);
new System.Data.EntityCommandCompilationException : string -> System.Data.EntityCommandCompilationException
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

EntityCommandCompilationException(String, Exception)

Initierar en ny instans av EntityCommandCompilationException.

public:
 EntityCommandCompilationException(System::String ^ message, Exception ^ innerException);
public EntityCommandCompilationException(string message, Exception innerException);
new System.Data.EntityCommandCompilationException : string * Exception -> System.Data.EntityCommandCompilationException
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 undantagskod finns i Exception.

Gäller för