Compartilhar via


Construtor AdomdException (String, Exception)

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

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

Sintaxe

'Declaração
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'Uso
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
)

Parâmetros

  • message
    Tipo: System.String
    A string containing the message for the exception.
  • innerException
    Tipo: System.Exception
    An instance of the Exception that caused the current exception.

Comentários

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.

Consulte também

Referência

AdomdException Classe

Sobrecarregado AdomdException

Namespace Microsoft.AnalysisServices.AdomdServer