AmoException Class

Represents an exception that is raised when an AMO error or warning is encountered.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.AnalysisServices.AmoException
      Microsoft.AnalysisServices.ConnectionException
      Microsoft.AnalysisServices.OperationException
      Microsoft.AnalysisServices.OutOfSyncException
      Microsoft.AnalysisServices.ResponseFormatException
      Microsoft.AnalysisServices.XmlSerializationException

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

Syntax

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

The AmoException type exposes the following members.

Constructors

  Name Description
Public method AmoException() Initializes a new instance of the AmoException class.
Public method AmoException(String) Initializes a new instance of the AmoException class using the specified message text.
Protected method AmoException(SerializationInfo, StreamingContext) Initializes a new instance of the AmoException class with serialized data.
Public method AmoException(String, Exception) Initializes a new instance of the AmoException class with message text and inner exception.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property HelpLink (Inherited from Exception.)
Public 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 Security Critical. (Inherited from Exception.)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)

Top

Events

  Name Description
Protected event SerializeObjectState (Inherited from Exception.)

Top

Remarks

 

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

Reference

Microsoft.AnalysisServices Namespace