ProviderIncompatibleException 類別
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
當存放區提供者出現不相容於實體用戶端提供者的行為時所擲回的例外狀況。
繼承階層
System.Object
System.Exception
System.SystemException
System.Data.DataException
System.Data.Entity.Core.EntityException
System.Data.Entity.Core.ProviderIncompatibleException
命名空間: System.Data.Entity.Core
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
<SerializableAttribute> _
Public NotInheritable Class ProviderIncompatibleException _
Inherits EntityException
'用途
Dim instance As ProviderIncompatibleException
[SerializableAttribute]
public sealed class ProviderIncompatibleException : EntityException
[SerializableAttribute]
public ref class ProviderIncompatibleException sealed : public EntityException
[<SealedAttribute>]
[<SerializableAttribute>]
type ProviderIncompatibleException =
class
inherit EntityException
end
public final class ProviderIncompatibleException extends EntityException
ProviderIncompatibleException 類型會公開下列成員。
建構函式
名稱 | 描述 | |
---|---|---|
ProviderIncompatibleException() | 初始化 ProviderIncompatibleException 類別的新執行個體。 | |
ProviderIncompatibleException(String) | 使用指定的錯誤訊息,初始化 ProviderIncompatibleException 類別的新執行個體。 | |
ProviderIncompatibleException(String, Exception) | 使用指定的錯誤訊息和內部例外狀況,初始化 ProviderIncompatibleException 類別的新執行個體。 |
靠上
屬性
名稱 | 描述 | |
---|---|---|
Data | (繼承自 Exception)。 | |
HelpLink | (繼承自 Exception)。 | |
HResult | (繼承自 Exception)。 | |
InnerException | (繼承自 Exception)。 | |
Message | (繼承自 Exception)。 | |
Source | (繼承自 Exception)。 | |
StackTrace | (繼承自 Exception)。 | |
TargetSite | (繼承自 Exception)。 |
靠上
方法
名稱 | 描述 | |
---|---|---|
Equals | (繼承自 Object)。 | |
GetBaseException | (繼承自 Exception)。 | |
GetHashCode | (繼承自 Object)。 | |
GetObjectData | 安全性關鍵。 (繼承自 Exception)。 | |
GetType | (繼承自 Exception)。 | |
ToString | (繼承自 Exception)。 |
靠上
執行緒安全
這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。並非所有的執行個體成員都是安全執行緒。