ProviderIncompatibleException 构造函数

定义

重载

ProviderIncompatibleException()

初始化 ProviderIncompatibleException 的新实例。

ProviderIncompatibleException(String)

使用指定的错误消息初始化 ProviderIncompatibleException 的新实例。

ProviderIncompatibleException(String, Exception)

初始化一个使用指定错误消息的 ProviderIncompatibleException 的新实例。

ProviderIncompatibleException()

初始化 ProviderIncompatibleException 的新实例。

public ProviderIncompatibleException ();
Public Sub New ()

适用于

ProviderIncompatibleException(String)

使用指定的错误消息初始化 ProviderIncompatibleException 的新实例。

public ProviderIncompatibleException (string message);
new System.Data.Entity.Core.ProviderIncompatibleException : string -> System.Data.Entity.Core.ProviderIncompatibleException
Public Sub New (message As String)

参数

message
String

描述错误的消息。

适用于

ProviderIncompatibleException(String, Exception)

初始化一个使用指定错误消息的 ProviderIncompatibleException 的新实例。

public ProviderIncompatibleException (string message, Exception innerException);
new System.Data.Entity.Core.ProviderIncompatibleException : string * Exception -> System.Data.Entity.Core.ProviderIncompatibleException
Public Sub New (message As String, innerException As Exception)

参数

message
String

描述错误的消息。

innerException
Exception

导致当前异常的异常;如果未指定任何内部异常,则为空引用(在 Visual Basic 中为 Nothing)。

适用于