ConnectionException Class

Definition

Represents a connection problem arises between the server and current application; this class cannot be inherited.

[System.Serializable]
public sealed class ConnectionException : Microsoft.AnalysisServices.AmoException
[<System.Serializable>]
type ConnectionException = class
    inherit AmoException
Public NotInheritable Class ConnectionException
Inherits AmoException
Inheritance
ConnectionException
Attributes

Constructors

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.

Properties

ExceptionCause

Gets a ConnectionExceptionCause value to explain the origin of the exception.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets the System.Runtime.Serialization.SerializationInfo with information about the exception.

Applies to