ProviderIncompatibleException 类
[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 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。) |
顶部
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。