EntityCommandCompilationException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
EntityCommandCompilationException()
初始化 EntityCommandCompilationException 的新執行個體。
public EntityCommandCompilationException();
Public Sub New ()
適用於
EntityCommandCompilationException(String)
初始化 EntityCommandCompilationException 的新執行個體。
public EntityCommandCompilationException(string message);
new System.Data.Entity.Core.EntityCommandCompilationException : string -> System.Data.Entity.Core.EntityCommandCompilationException
Public Sub New (message As String)
參數
- message
- String
描述錯誤的訊息。
適用於
EntityCommandCompilationException(String, Exception)
初始化 EntityCommandCompilationException 的新執行個體。
public EntityCommandCompilationException(string message, Exception innerException);
new System.Data.Entity.Core.EntityCommandCompilationException : string * Exception -> System.Data.Entity.Core.EntityCommandCompilationException
Public Sub New (message As String, innerException As Exception)
參數
- message
- String
解釋例外狀況原因的錯誤訊息。
- innerException
- Exception
造成目前例外狀況的例外狀況,或 null 參考 (Visual Basic 中的 Nothing) (如果沒有指定內部例外的話)。