語言

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
屬性

適用於