Compartir a través de


Clase ConnectionException

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

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
<SerializableAttribute> _
Public NotInheritable Class ConnectionException _
    Inherits AmoException
'Uso
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

El tipo ConnectionException expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público ConnectionException() Initializes a new instance of the ConnectionException class.
Método público ConnectionException(String) Initializes a new instance of the ConnectionException class.
Método público ConnectionException(String, Exception) Initializes a new instance of the ConnectionException class.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Data (Se hereda de Exception.)
Propiedad pública ExceptionCause Returns a ConnectionExceptionCause value to explain the origin of the exception.
Propiedad pública HelpLink (Se hereda de Exception.)
Propiedad pública HResult (Se hereda de Exception.)
Propiedad pública InnerException (Se hereda de Exception.)
Propiedad pública Message (Se hereda de Exception.)
Propiedad pública Source (Se hereda de Exception.)
Propiedad pública StackTrace (Se hereda de Exception.)
Propiedad pública TargetSite (Se hereda de Exception.)

Arriba

Métodos

  Nombre Descripción
Método público Equals (Se hereda de Object.)
Método público GetBaseException (Se hereda de Exception.)
Método público GetHashCode (Se hereda de Object.)
Método público GetObjectData Sets the [System.Runtime.Serialization.SerializationInfo] with information about the exception. (Invalida Exception.GetObjectData(SerializationInfo, StreamingContext).)
Método público GetType (Se hereda de Exception.)
Método público ToString (Se hereda de Exception.)

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres Microsoft.AnalysisServices