共用方式為


EntityCommandExecutionException 建構函式

定義

多載

EntityCommandExecutionException()

初始化 EntityCommandExecutionException 的新執行個體。

EntityCommandExecutionException(String)

初始化 EntityCommandExecutionException 的新執行個體。

EntityCommandExecutionException(String, Exception)

初始化 EntityCommandExecutionException 的新執行個體。

EntityCommandExecutionException()

初始化 EntityCommandExecutionException 的新執行個體。

public EntityCommandExecutionException ();
Public Sub New ()

適用於

EntityCommandExecutionException(String)

初始化 EntityCommandExecutionException 的新執行個體。

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

參數

message
String

描述錯誤的訊息。

適用於

EntityCommandExecutionException(String, Exception)

初始化 EntityCommandExecutionException 的新執行個體。

public EntityCommandExecutionException (string message, Exception innerException);
new System.Data.Entity.Core.EntityCommandExecutionException : string * Exception -> System.Data.Entity.Core.EntityCommandExecutionException
Public Sub New (message As String, innerException As Exception)

參數

message
String

解釋例外狀況原因的錯誤訊息。

innerException
Exception

造成目前例外狀況的例外狀況,或 null 參考 (Visual Basic 中的 Nothing) (如果沒有指定內部例外的話)。

適用於