共用方式為


EntityCommandCompilationException 類別

定義

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

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

建構函式

EntityCommandCompilationException()

初始化 EntityCommandCompilationException 的新執行個體。

EntityCommandCompilationException(String, Exception)

初始化 EntityCommandCompilationException 的新執行個體。

EntityCommandCompilationException(String)

初始化 EntityCommandCompilationException 的新執行個體。

適用於