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.