ConnectionException Constructors

Definition

Overloads

ConnectionException()

Initializes a new instance of the ConnectionException class.

ConnectionException(String)

Initializes a new instance of the ConnectionException class using the specified message text.

ConnectionException(String, Exception)

Initializes a new instance of the ConnectionException class with message text and inner exception.

ConnectionException()

Initializes a new instance of the ConnectionException class.

public ConnectionException ();
Public Sub New ()

Applies to

ConnectionException(String)

Initializes a new instance of the ConnectionException class using the specified message text.

public ConnectionException (string message);
new Microsoft.AnalysisServices.ConnectionException : string -> Microsoft.AnalysisServices.ConnectionException
Public Sub New (message As String)

Parameters

message
String

A System.String value that specifies the message text that describes the event that caused the exception.

Applies to

ConnectionException(String, Exception)

Initializes a new instance of the ConnectionException class with message text and inner exception.

public ConnectionException (string message, Exception innerException);
new Microsoft.AnalysisServices.ConnectionException : string * Exception -> Microsoft.AnalysisServices.ConnectionException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The message text that describes the event that caused the exception.

innerException
Exception

The inner exception that is the cause of the current exception.

Applies to