InternalSmoErrorException InternalSmoErrorException InternalSmoErrorException Constructors

Definition

Overloads

InternalSmoErrorException() InternalSmoErrorException() InternalSmoErrorException()

Initializes a new instance of the InternalSmoErrorException class.

InternalSmoErrorException(String) InternalSmoErrorException(String) InternalSmoErrorException(String)

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

InternalSmoErrorException(String, Exception) InternalSmoErrorException(String, Exception) InternalSmoErrorException(String, Exception)

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

InternalSmoErrorException() InternalSmoErrorException() InternalSmoErrorException()

Initializes a new instance of the InternalSmoErrorException class.

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

Examples

Handling SMO Exceptions

Remarks

The default constructor initializes any fields to their default values.

InternalSmoErrorException(String) InternalSmoErrorException(String) InternalSmoErrorException(String)

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

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

A String value that specifies the message string for the Internal SMO Error exception.

Examples

Handling SMO Exceptions

InternalSmoErrorException(String, Exception) InternalSmoErrorException(String, Exception) InternalSmoErrorException(String, Exception)

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

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

A Boolean value that specifies the message string for the Internal SMO Error exception.

innerException
Exception Exception Exception

An Exception object that specifies the inner exception for the Internal SMO Error exception.

Examples

Handling SMO Exceptions

Applies to