AmoException Constructors

Definition

Overloads

AmoException()

Initializes a new instance of the AmoException class.

AmoException(String)

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

AmoException(SerializationInfo, StreamingContext)

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

AmoException(String, Exception)

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

AmoException()

Initializes a new instance of the AmoException class.

public AmoException ();
Public Sub New ()

Applies to

AmoException(String)

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

public AmoException (string message);
new Microsoft.AnalysisServices.AmoException : string -> Microsoft.AnalysisServices.AmoException
Public Sub New (message As String)

Parameters

message
String

A System.String value that specifies the message text that describes the event that caused the exception.

Applies to

AmoException(SerializationInfo, StreamingContext)

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

protected AmoException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.AnalysisServices.AmoException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.AnalysisServices.AmoException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The object that holds the serialized data.

context
StreamingContext

The contextual information about the source or destination.

Applies to

AmoException(String, Exception)

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

public AmoException (string message, Exception innerException);
new Microsoft.AnalysisServices.AmoException : string * Exception -> Microsoft.AnalysisServices.AmoException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The message text that describes the event that caused the exception.

innerException
Exception

The inner exception that is the cause of the current exception.

Applies to