語言

PropertyConstraintException 建構函式

定義

初始化 PropertyConstraintException 類別的新執行個體。

多載

名稱 Description
PropertyConstraintException()

初始化一個新的類別實例 PropertyConstraintException ,並使用預設訊息。

PropertyConstraintException(String)

初始化該類別的新實例 PropertyConstraintException ,並以所提供的訊息。

PropertyConstraintException(String, Exception)

初始化一個新的類別實例 PropertyConstraintException ,並帶有 sserved message 與內部例外。

PropertyConstraintException(String, String)

初始化 PropertyConstraintException 類別的新執行個體。

PropertyConstraintException(String, String, Exception)

初始化 PropertyConstraintException 類別的新執行個體。

PropertyConstraintException()

初始化一個新的類別實例 PropertyConstraintException ,並使用預設訊息。

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

適用於

PropertyConstraintException(String)

初始化該類別的新實例 PropertyConstraintException ,並以所提供的訊息。

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

參數

message
String

當地語系化的錯誤訊息。

適用於

PropertyConstraintException(String, Exception)

初始化一個新的類別實例 PropertyConstraintException ,並帶有 sserved message 與內部例外。

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

參數

message
String

當地語系化的錯誤訊息。

innerException
Exception

內心的例外。

適用於

PropertyConstraintException(String, String)

初始化 PropertyConstraintException 類別的新執行個體。

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

參數

message
String

當地語系化的錯誤訊息。

propertyName
String

屬性的名稱。

適用於

PropertyConstraintException(String, String, Exception)

初始化 PropertyConstraintException 類別的新執行個體。

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

參數

message
String

當地語系化的錯誤訊息。

propertyName
String

屬性的名稱。

innerException
Exception

內心的例外。

適用於