Partilhar via


PropertyReadOnlyException Constructors

Definition

Overloads

PropertyReadOnlyException()

Constructor for the T:Microsoft.SqlServer.Management.Smo.PropertyReadOnlyException.

PropertyReadOnlyException(String)

Constructor for the T:Microsoft.SqlServer.Management.Smo.PropertyReadOnlyException.

PropertyReadOnlyException(String, Exception)

Constructor for the T:Microsoft.SqlServer.Management.Smo.PropertyReadOnlyException.

PropertyReadOnlyException()

Constructor for the T:Microsoft.SqlServer.Management.Smo.PropertyReadOnlyException.

public PropertyReadOnlyException ();
Public Sub New ()

Applies to

PropertyReadOnlyException(String)

Constructor for the T:Microsoft.SqlServer.Management.Smo.PropertyReadOnlyException.

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

Parameters

propertyName
String

The name of the read-only property.

Applies to

PropertyReadOnlyException(String, Exception)

Constructor for the T:Microsoft.SqlServer.Management.Smo.PropertyReadOnlyException.

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

Parameters

message
String

The message of the exception as string.

innerException
Exception

The T:System.Exception instance that caused the current exception.

Applies to