ProviderIncompatibleException 构造函数

定义

初始化 的新 ProviderIncompatibleException实例。

重载

名称 说明
ProviderIncompatibleException()

初始化 的新 ProviderIncompatibleException实例。

ProviderIncompatibleException(String)

使用专用错误消息初始化新实例 ProviderIncompatibleException

ProviderIncompatibleException(String, Exception)

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

注解

有关如何在代码中处理异常的详细信息,请参阅 Exception

ProviderIncompatibleException()

初始化 的新 ProviderIncompatibleException实例。

public:
 ProviderIncompatibleException();
public ProviderIncompatibleException();
Public Sub New ()

注解

有关如何在代码中处理异常的详细信息,请参阅 Exception

适用于

ProviderIncompatibleException(String)

使用专用错误消息初始化新实例 ProviderIncompatibleException

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

参数

message
String

描述错误的消息。

注解

有关如何在代码中处理异常的详细信息,请参阅 Exception

适用于

ProviderIncompatibleException(String, Exception)

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

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

参数

message
String

描述错误的消息。

innerException
Exception

作为当前异常的原因的异常,如果未指定内部异常,则为 null 引用(Nothing 在 Visual Basic 中)。

注解

有关如何在代码中处理异常的详细信息,请参阅 Exception

适用于