语言

PropertyWriteException 构造函数

定义

重载

名称 说明
PropertyWriteException()

T:Microsoft的构造函数。SqlServer.Management.Smo.PropertyWriteException。

PropertyWriteException(String)

T:Microsoft的构造函数。SqlServer.Management.Smo.PropertyWriteException。

PropertyWriteException(String, Exception)

T:Microsoft的构造函数。SqlServer.Management.Smo.PropertyWriteException。

PropertyWriteException(String, String, String, String)

T:Microsoft的构造函数。SqlServer.Management.Smo.PropertyWriteException。

PropertyWriteException()

T:Microsoft的构造函数。SqlServer.Management.Smo.PropertyWriteException。

public PropertyWriteException();
Public Sub New ()

适用于

PropertyWriteException(String)

T:Microsoft的构造函数。SqlServer.Management.Smo.PropertyWriteException。

public PropertyWriteException(string message);
new Microsoft.SqlServer.Management.Smo.PropertyWriteException : string -> Microsoft.SqlServer.Management.Smo.PropertyWriteException
Public Sub New (message As String)

参数

message
String

异常的消息作为字符串。

适用于

PropertyWriteException(String, Exception)

T:Microsoft的构造函数。SqlServer.Management.Smo.PropertyWriteException。

public PropertyWriteException(string message, Exception innerException);
new Microsoft.SqlServer.Management.Smo.PropertyWriteException : string * Exception -> Microsoft.SqlServer.Management.Smo.PropertyWriteException
Public Sub New (message As String, innerException As Exception)

参数

message
String

异常的消息作为字符串。

innerException
Exception

导致当前异常的 T:System.Exception 实例。

适用于

PropertyWriteException(String, String, String, String)

T:Microsoft的构造函数。SqlServer.Management.Smo.PropertyWriteException。

public PropertyWriteException(string propertyName, string objectKind, string objectName, string reason);
new Microsoft.SqlServer.Management.Smo.PropertyWriteException : string * string * string * string -> Microsoft.SqlServer.Management.Smo.PropertyWriteException
Public Sub New (propertyName As String, objectKind As String, objectName As String, reason As String)

参数

propertyName
String

导致异常的阻止属性的名称作为字符串。

objectKind
String

作为被阻止属性字符串的对象类型。

objectName
String

对象的名称作为被阻止属性的字符串

reason
String

属性阻塞的原因。

适用于