共用方式為


EntityCommandCompilationException 建構函式

定義

多載

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) (如果沒有指定內部例外的話)。

適用於