EntityCommandExecutionException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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) (如果沒有指定內部例外的話)。