AmoException Constructor (String, Exception)

 

Applies To: SQL Server (starting with 2016)

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

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

Syntax

public AmoException(
    string message,
    Exception innerException
)
public:
AmoException(
    String^ message,
    Exception^ innerException
)
new : 
        message:string *
        innerException:Exception -> AmoException
Public Sub New (
    message As String,
    innerException As 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

AmoException Overload
AmoException Class
Microsoft.AnalysisServices Namespace

Return to top