AmoException Class

 

Applies To: SQL Server (starting with 2016)

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

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

Inheritance Hierarchy

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

Syntax

[SerializableAttribute]
public class AmoException : Exception
[SerializableAttribute]
public ref class AmoException : Exception
[<SerializableAttribute>]
type AmoException = 
    class
        inherit Exception
    end
<SerializableAttribute>
Public Class AmoException
    Inherits Exception

Constructors

Name Description
System_CAPS_pubmethod AmoException()

Initializes a new instance of the AmoException class.

System_CAPS_protmethod AmoException(SerializationInfo, StreamingContext)

Initializes a new instance of the AmoException class with serialized data.

System_CAPS_pubmethod AmoException(String)

Initializes a new instance of the AmoException class using the specified message text.

System_CAPS_pubmethod AmoException(String, Exception)

Initializes a new instance of the AmoException class with message text and inner exception.

Properties

Name Description
System_CAPS_pubproperty Data

(Inherited from Exception.)

System_CAPS_pubproperty HelpLink

(Inherited from Exception.)

System_CAPS_protproperty HResult

(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_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetObjectData(SerializationInfo, StreamingContext)

(Inherited from Exception.)

System_CAPS_pubmethod GetType()

(Inherited from Exception.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

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