共用方式為


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

造成目前例外狀況的例外狀況,如果未指定內部例外狀況,則為 Null 參考 (Visual Basic 中的 Nothing)。

適用於