Partager via


Constructeur AdomdException (String, Exception)

Initializes a new instance of the AdomdException class with a given message and an inner exception.

Espace de noms :  Microsoft.AnalysisServices.AdomdServer
Assembly :  msmgdsrv (en msmgdsrv.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'Utilisation
Dim message As String
Dim innerException As Exception

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

Paramètres

Notes

When an exception X is thrown as a direct result of a previous exception Y, the InnerException property of X should contain a reference to Y.