ConnectionException Class

 

Applies To: SQL Server (starting with 2016)

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

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

Inheritance Hierarchy

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

Syntax

[SerializableAttribute]
public sealed class ConnectionException : AmoException
[SerializableAttribute]
public ref class ConnectionException sealed : AmoException
[<Sealed>]
[<SerializableAttribute>]
type ConnectionException = 
    class
        inherit AmoException
    end
<SerializableAttribute>
Public NotInheritable Class ConnectionException
    Inherits AmoException

Constructors

Name Description
System_CAPS_pubmethod ConnectionException()

Initializes a new instance of the ConnectionException class.

System_CAPS_pubmethod ConnectionException(String)

Initializes a new instance of the ConnectionException class.

System_CAPS_pubmethod ConnectionException(String, Exception)

Initializes a new instance of the ConnectionException class.

Properties

Name Description
System_CAPS_pubproperty Data

(Inherited from Exception.)

System_CAPS_pubproperty ExceptionCause

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

System_CAPS_pubproperty HelpLink

(Inherited from Exception.)

System_CAPS_pubproperty InnerException

(Inherited from Exception.)

System_CAPS_pubproperty Message

(Inherited from Exception.)

System_CAPS_pubproperty Source

(Inherited from Exception.)

System_CAPS_pubproperty StackTrace

(Inherited from Exception.)

System_CAPS_pubproperty TargetSite

(Inherited from Exception.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetObjectData(SerializationInfo, StreamingContext)

Sets the System.Runtime.Serialization.SerializationInfo with information about the exception.(Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)

System_CAPS_pubmethod GetType()

(Inherited from Exception.)

System_CAPS_pubmethod ToString()

(Inherited from Exception.)

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.

See Also

Microsoft.AnalysisServices Namespace

Return to top