次の方法で共有


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

この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新しい開発作業では、この機能の使用を避け、現在この機能を使用しているアプリケーションは修正するようにしてください。代わりに #ctor(Exception, ExceptionMesageBoxButtons) を使用してください。

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

構文

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

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

パラメーター

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

説明

代わりに ExceptionMessageBox を使用します。