Costruttore AdomdException (String, Exception)
Initializes a new instance of the AdomdException class with a given message and an inner exception.
Spazio dei nomi Microsoft.AnalysisServices.AdomdServer
Assembly: msmgdsrv (in msmgdsrv.dll)
Sintassi
'Dichiarazione
Public Sub New ( _
message As String, _
innerException As Exception _
)
'Utilizzo
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
)
Parametri
- 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.
Osservazioni
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.