共用方式為


EntityCommandExecutionException 類別

定義

代表嘗試準備或執行 CommandExecution 時發生的失敗:此例外狀況旨在提供常見例外狀況,讓使用者在使用 EntityCommand 來執行語句時,可以攔截以保存提供者例外狀況 (SqlException、OracleException) 。

[System.Serializable]
public sealed class EntityCommandExecutionException : System.Data.Entity.Core.EntityException
type EntityCommandExecutionException = class
    inherit EntityException
Public NotInheritable Class EntityCommandExecutionException
Inherits EntityException
繼承
EntityCommandExecutionException
屬性

建構函式

EntityCommandExecutionException()

初始化 EntityCommandExecutionException 的新執行個體。

EntityCommandExecutionException(String, Exception)

初始化 EntityCommandExecutionException 的新執行個體。

EntityCommandExecutionException(String)

初始化 EntityCommandExecutionException 的新執行個體。

適用於