AdomdException 建構函式 (String, Exception)
Initializes a new instance of the AdomdException class with a given message and an inner exception.
命名空間: Microsoft.AnalysisServices.AdomdServer
組件: msmgdsrv (在 msmgdsrv.dll 中)
語法
'宣告
Public Sub New ( _
message As String, _
innerException As Exception _
)
'用途
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
)
參數
- message
型別:System. . :: . .String
A string containing the message for the exception.
- innerException
型別:System. . :: . .Exception
An instance of the Exception that caused the current exception.
備註
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.