UnsupportedVersionException UnsupportedVersionException UnsupportedVersionException Constructors

Definition

Overloads

UnsupportedVersionException() UnsupportedVersionException() UnsupportedVersionException()

Initializes a new instance of the UnsupportedVersionException class.

UnsupportedVersionException(String) UnsupportedVersionException(String) UnsupportedVersionException(String)

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

UnsupportedVersionException(String, Exception) UnsupportedVersionException(String, Exception) UnsupportedVersionException(String, Exception)

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

UnsupportedVersionException() UnsupportedVersionException() UnsupportedVersionException()

Initializes a new instance of the UnsupportedVersionException class.

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

Examples

Handling SMO Exceptions

Remarks

The default constructor initializes any fields to their default values.

UnsupportedVersionException(String) UnsupportedVersionException(String) UnsupportedVersionException(String)

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

public:
 UnsupportedVersionException(System::String ^ message);
public UnsupportedVersionException (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

UnsupportedVersionException(String, Exception) UnsupportedVersionException(String, Exception) UnsupportedVersionException(String, Exception)

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

public:
 UnsupportedVersionException(System::String ^ message, Exception ^ innerException);
public UnsupportedVersionException (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 Version exception.

Examples

Handling SMO Exceptions

Applies to