Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PropertyWriteException Constructor

 

Applies To: SQL Server 2016 Preview

Initializes a new instance of the PropertyWriteException class.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

NameDescription
System_CAPS_pubmethodPropertyWriteException()

Initializes a new instance of the PropertyWriteException class.

System_CAPS_pubmethodPropertyWriteException(String)

Initializes a new instance of the PropertyWriteException class with the specified message.

System_CAPS_pubmethodPropertyWriteException(String, Exception)

Initializes a new instance of the PropertyWriteException class with the specified message and specified inner exception.

System_CAPS_pubmethodPropertyWriteException(String, String, String, String)

Initializes a new instance of the PropertyWriteException class with the specified property name, object kind, object name, and reason.

Return to top

PropertyWriteException Constructor ()

Initializes a new instance of the PropertyWriteException class.

public PropertyWriteException()

The default constructor initializes any fields to their default values.

Return to top

PropertyWriteException Constructor (String)

Initializes a new instance of the PropertyWriteException class with the specified message.

public PropertyWriteException(
	string message
)

Parameters

message
Type: System.String

A String value that specifies the message string for the Property Write exception.

Return to top

PropertyWriteException Constructor (String, Exception)

Initializes a new instance of the PropertyWriteException class with the specified message and specified inner exception.

public PropertyWriteException(
	string message,
	Exception innerException
)

Parameters

message
Type: System.String

A String value that specifies the message string for the Property Write exception.

innerException
Type: System.Exception

An Exception system object value that specifies the inner exception for the Property Write exception.

Return to top

PropertyWriteException Constructor (String, String, String, String)

Initializes a new instance of the PropertyWriteException class with the specified property name, object kind, object name, and reason.

public PropertyWriteException(
	string propertyName,
	string objectKind,
	string objectName,
	string reason
)

Parameters

propertyName
Type: System.String

A String value that specifies the name of the property.

objectKind
Type: System.String

A String value that specifies the kind of object.

objectName
Type: System.String

A String value that specifies the name of the object.

reason
Type: System.String

A String value that specifies the reason for the exception.

Return to top
Show:
© 2015 Microsoft