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.
Constructors
Name | Description | |
---|---|---|
ConnectionException() | Initializes a new instance of the ConnectionException class. | |
ConnectionException(String) | Initializes a new instance of the ConnectionException class. | |
ConnectionException(String, Exception) | Initializes a new instance of the ConnectionException class. |
Top
Properties
Name | Description | |
---|---|---|
Data | (Inherited from Exception.) | |
ExceptionCause | Returns a ConnectionExceptionCause value to explain the origin of the exception. | |
HelpLink | (Inherited from Exception.) | |
HResult | (Inherited from Exception.) | |
InnerException | (Inherited from Exception.) | |
Message | (Inherited from Exception.) | |
Source | (Inherited from Exception.) | |
StackTrace | (Inherited from Exception.) | |
TargetSite | (Inherited from Exception.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetBaseException | (Inherited from Exception.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | Sets the [System.Runtime.Serialization.SerializationInfo] with information about the exception. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).) | |
GetType | (Inherited from Exception.) | |
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.