UnsupportedObjectNameException UnsupportedObjectNameException UnsupportedObjectNameException Constructors

Definition

Overloads

UnsupportedObjectNameException() UnsupportedObjectNameException() UnsupportedObjectNameException()

Initializes a new instance of the UnsupportedObjectNameException class.

UnsupportedObjectNameException(String) UnsupportedObjectNameException(String) UnsupportedObjectNameException(String)

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

UnsupportedObjectNameException(String, Exception) UnsupportedObjectNameException(String, Exception) UnsupportedObjectNameException(String, Exception)

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

UnsupportedObjectNameException() UnsupportedObjectNameException() UnsupportedObjectNameException()

Initializes a new instance of the UnsupportedObjectNameException class.

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

Examples

Handling SMO Exceptions

Remarks

The default constructor initializes any fields to their default values.

UnsupportedObjectNameException(String) UnsupportedObjectNameException(String) UnsupportedObjectNameException(String)

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

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

A String value that describes the current exception.

Examples

Handling SMO Exceptions

UnsupportedObjectNameException(String, Exception) UnsupportedObjectNameException(String, Exception) UnsupportedObjectNameException(String, Exception)

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

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

A String value that describes the current exception.

innerException
Exception Exception Exception

An Exception system object value that specifies the inner exception for the Unsupported Object Name exception.

Examples

Handling SMO Exceptions

Applies to