Dela via


AdomdException Class

Represents an exception thrown by ADOMD.NET.

Inheritance Hierarchy

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.AnalysisServices.AdomdServer.AdomdException

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

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class AdomdException _
    Inherits ApplicationException _
    Implements ISerializable, IDisposable
'Usage
Dim instance As AdomdException
[SerializableAttribute]
public sealed class AdomdException : ApplicationException, 
    ISerializable, IDisposable
[SerializableAttribute]
public ref class AdomdException sealed : public ApplicationException, 
    ISerializable, IDisposable
[<SealedAttribute>]
[<SerializableAttribute>]
type AdomdException =  
    class
        inherit ApplicationException
        interface ISerializable
        interface IDisposable
    end
public final class AdomdException extends ApplicationException implements ISerializable, IDisposable

The AdomdException type exposes the following members.

Constructors

  Name Description
Public method AdomdException() Initializes a new instance of the AdomdException class.
Public method AdomdException(Int32) Initializes a new instance of the AdomdException class with a given HRESULT.
Public method AdomdException(String) Initializes a new instance of the AdomdException class with a given message.
Public method AdomdException(String, Exception) Initializes a new instance of the AdomdException class with a given message and an inner exception.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property HelpLink (Inherited from Exception.)
Public property HR Gets the HRESULT, a coded numerical value that is assigned to a specific exception.
Protected 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 {dtor} Releases all resources used by the AdomdException.
Public method Dispose
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 (Inherited from Exception.)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ISerializable.GetObjectData

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.