EntityCommandExecutionException 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表在嘗試準備或執行 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
- 繼承
- 屬性
建構函式
| 名稱 | Description |
|---|---|
| EntityCommandExecutionException() |
初始化一個新的 實 EntityCommandExecutionException例。 |
| EntityCommandExecutionException(String, Exception) |
初始化一個新的 實 EntityCommandExecutionException例。 |
| EntityCommandExecutionException(String) |
初始化一個新的 實 EntityCommandExecutionException例。 |