PropertyCannotBeRetrievedException PropertyCannotBeRetrievedException PropertyCannotBeRetrievedException Constructors

Definition

Overloads

PropertyCannotBeRetrievedException() PropertyCannotBeRetrievedException() PropertyCannotBeRetrievedException()

Initializes a new instance of the PropertyCannotBeRetrievedException class.

PropertyCannotBeRetrievedException(String) PropertyCannotBeRetrievedException(String) PropertyCannotBeRetrievedException(String)

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

PropertyCannotBeRetrievedException(String, Exception) PropertyCannotBeRetrievedException(String, Exception) PropertyCannotBeRetrievedException(String, Exception)

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

PropertyCannotBeRetrievedException(String, Object) PropertyCannotBeRetrievedException(String, Object) PropertyCannotBeRetrievedException(String, Object)

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

PropertyCannotBeRetrievedException() PropertyCannotBeRetrievedException() PropertyCannotBeRetrievedException()

Initializes a new instance of the PropertyCannotBeRetrievedException class.

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

Examples

Handling SMO Exceptions

Remarks

The default constructor initializes any fields to their default values.

PropertyCannotBeRetrievedException(String) PropertyCannotBeRetrievedException(String) PropertyCannotBeRetrievedException(String)

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

public:
 PropertyCannotBeRetrievedException(System::String ^ message);
public PropertyCannotBeRetrievedException (string message);
Public Sub New (message As String)
Parameters
message
String String String

A String value that specifies the message string for the Property Cannot Be Retrieved exception.

Examples

Handling SMO Exceptions

PropertyCannotBeRetrievedException(String, Exception) PropertyCannotBeRetrievedException(String, Exception) PropertyCannotBeRetrievedException(String, Exception)

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

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

A String value that specifies the message string for the Property Cannot Be Retrieved exception.

innerException
Exception Exception Exception

An Exception object that specifies the inner exception for the Property Cannot Be Retrieved exception.

Examples

Handling SMO Exceptions

PropertyCannotBeRetrievedException(String, Object) PropertyCannotBeRetrievedException(String, Object) PropertyCannotBeRetrievedException(String, Object)

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

public:
 PropertyCannotBeRetrievedException(System::String ^ propertyName, System::Object ^ failedObject);
public PropertyCannotBeRetrievedException (string propertyName, object failedObject);
Public Sub New (propertyName As String, failedObject As Object)
Parameters
propertyName
String String String

A String value that specifies the name of the Property Cannot Be Retrieved exception.

failedObject
Object Object Object

An Object system object value that specifies the object that owns the Property Cannot Be Retrieved exception.

Examples

Handling SMO Exceptions

Applies to