AmoException Constructor (String, Exception)

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

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

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'Usage
Dim message As String 
Dim innerException As Exception 

Dim instance As New AmoException(message, _
    innerException)
public AmoException(
    string message,
    Exception innerException
)
public:
AmoException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> AmoException
public function AmoException(
    message : String, 
    innerException : Exception
)

Parameters

  • message
    Type: System.String
    The message text that describes the event that caused the exception.
  • innerException
    Type: System.Exception
    The inner exception that is the cause of the current exception.

See Also

Reference

AmoException Class

AmoException Overload

Microsoft.AnalysisServices Namespace