Sdílet prostřednictvím


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.

ConnectionException(String, Exception)

Initializes a new instance of the ConnectionException class with the specified error message and the inner that is the cause of this 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.

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

Parameters

message
String

A String that specifies the message that describes what caused the exception.

Applies to

ConnectionException(String, Exception)

Initializes a new instance of the ConnectionException class with the specified error message and the inner that is the cause of this 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

A String that specifies the message that describes what caused the exception.

innerException
Exception

A Exception inner exception that is the cause of the exception.

Applies to