語言

ProviderIncompatibleException 建構函式

定義

初始化 ProviderIncompatibleException 的新執行個體。

多載

名稱 Description
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

該例外是當前例外的原因,或在 Visual Basic 中若未指定內部例外則為空參考Nothing 。

備註

關於如何處理程式碼中的例外,請參見 Exception。

適用於