EntityCommandCompilationException Konstruktorer
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Initierar en ny instans av EntityCommandCompilationException.
Överlagringar
| Name | Description |
|---|---|
| EntityCommandCompilationException() |
Initierar en ny instans av EntityCommandCompilationException. |
| EntityCommandCompilationException(String) |
Initierar en ny instans av EntityCommandCompilationException. |
| EntityCommandCompilationException(String, Exception) |
Initierar en ny instans av EntityCommandCompilationException. |
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.