次の方法で共有


ExceptionMessageBox コンストラクター (Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol)

指定した Exception の情報を使用し、メッセージ ボックスに表示するボタンと記号を指定して、ExceptionMessageBox のインスタンスを作成します。

名前空間:  Microsoft.SqlServer.MessageBox
アセンブリ:  Microsoft.ExceptionMessageBox (Microsoft.ExceptionMessageBox.dll)

構文

'宣言
Public Sub New ( _
    exception As Exception, _
    buttons As ExceptionMessageBoxButtons, _
    symbol As ExceptionMessageBoxSymbol _
)
'使用
Dim exception As Exception 
Dim buttons As ExceptionMessageBoxButtons 
Dim symbol As ExceptionMessageBoxSymbol 

Dim instance As New ExceptionMessageBox(exception, _
    buttons, symbol)
public ExceptionMessageBox(
    Exception exception,
    ExceptionMessageBoxButtons buttons,
    ExceptionMessageBoxSymbol symbol
)
public:
ExceptionMessageBox(
    Exception^ exception, 
    ExceptionMessageBoxButtons buttons, 
    ExceptionMessageBoxSymbol symbol
)
new : 
        exception:Exception * 
        buttons:ExceptionMessageBoxButtons * 
        symbol:ExceptionMessageBoxSymbol -> ExceptionMessageBox
public function ExceptionMessageBox(
    exception : Exception, 
    buttons : ExceptionMessageBoxButtons, 
    symbol : ExceptionMessageBoxSymbol
)

パラメーター

  • exception
    型: System.Exception
    例外メッセージ ボックスに表示される最上位レベル テキスト、内部例外テキスト、キャプション、データ、ヘルプ リンク、およびオプションの追加情報が含まれる Exception です。

関連項目

参照

ExceptionMessageBox クラス

ExceptionMessageBox オーバーロード

Microsoft.SqlServer.MessageBox 名前空間