ConnectionException Class

The exception that is thrown when a connection problem arises between the server and current application. This class cannot be inherited.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.AnalysisServices.AmoException
      Microsoft.AnalysisServices.ConnectionException

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class ConnectionException _
    Inherits AmoException
'Usage
Dim instance As ConnectionException
[SerializableAttribute]
public sealed class ConnectionException : AmoException
[SerializableAttribute]
public ref class ConnectionException sealed : public AmoException
[<SealedAttribute>]
[<SerializableAttribute>]
type ConnectionException =  
    class
        inherit AmoException
    end
public final class ConnectionException extends AmoException

The ConnectionException type exposes the following members.

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property ExceptionCause Returns a ConnectionExceptionCause value to explain the origin of the exception.
Public property HelpLink (Inherited from Exception.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Sets the [System.Runtime.Serialization.SerializationInfo] with information about the exception. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.