PropertyException 构造函数

定义

重载

PropertyException(String)

使用导致异常的 属性初始化 PropertyException 类的新实例。

PropertyException(String, String)

使用导致异常的 属性和错误消息文本初始化 PropertyException 类的新实例。

PropertyException(String, String, Exception)

使用导致异常的 属性、错误消息文本和内部异常初始化 PropertyException 类的新实例。

PropertyException(String)

使用导致异常的 属性初始化 PropertyException 类的新实例。

public:
 PropertyException(System::String ^ name);
public PropertyException (string name);
Public Sub New (name As String)

参数

name
String

导致异常的属性的名称。

适用于

PropertyException(String, String)

使用导致异常的 属性和错误消息文本初始化 PropertyException 类的新实例。

public:
 PropertyException(System::String ^ message, System::String ^ name);
public PropertyException (string message, string name);
Public Sub New (message As String, name As String)

参数

message
String

错误消息文本。

name
String

导致异常的属性的名称。

适用于

PropertyException(String, String, Exception)

使用导致异常的 属性、错误消息文本和内部异常初始化 PropertyException 类的新实例。

public:
 PropertyException(System::String ^ message, System::String ^ name, Exception ^ innerException);
public PropertyException (string message, string name, Exception innerException);
Public Sub New (message As String, name As String, innerException As Exception)

参数

message
String

错误消息文本。

name
String

导致异常的属性的名称。

innerException
Exception

内部异常。

适用于