共用方式為


AdomdException Constructor (String, Exception)

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

命名空間: Microsoft.AnalysisServices.AdomdServer
組件: msmgdsrv (in msmgdsrv.dll)

語法

'宣告
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
public AdomdException (
    string message,
    Exception innerException
)
public:
AdomdException (
    String^ message, 
    Exception^ innerException
)
public AdomdException (
    String message, 
    Exception innerException
)
public function AdomdException (
    message : String, 
    innerException : Exception
)

參數

  • message
    A string containing the message for the exception.
  • innerException
    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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

AdomdException Class
AdomdException Members
Microsoft.AnalysisServices.AdomdServer Namespace