次の方法で共有


AmoException コンストラクター (String, Exception)

メッセージ テキストと内部例外を使用して、AmoException クラスの新しいインスタンスを初期化します。

名前空間:  Microsoft.AnalysisServices
アセンブリ:  Microsoft.AnalysisServices (Microsoft.AnalysisServices.dll)

構文

'宣言
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'使用
Dim message As String 
Dim innerException As Exception 

Dim instance As New AmoException(message, _
    innerException)
public AmoException(
    string message,
    Exception innerException
)
public:
AmoException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> AmoException
public function AmoException(
    message : String, 
    innerException : Exception
)

パラメーター

  • message
    型: System.String
    例外の原因になったイベントを表すメッセージ テキストです。
  • innerException
    型: System.Exception
    現在の例外の原因になった内部例外です。

関連項目

参照

AmoException クラス

AmoException オーバーロード

Microsoft.AnalysisServices 名前空間