次の方法で共有


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

例外メッセージ ボックスに表示する最上位レベルのエラー メッセージ テキストとダイアログ ボックス キャプションを指定して、ExceptionMessageBox のインスタンスを作成します。 このメソッドは、例外メッセージ ボックスに表示するボタンも指定します。

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

構文

'宣言
Public Sub New ( _
    text As String, _
    caption As String, _
    buttons As ExceptionMessageBoxButtons _
)
'使用
Dim text As String 
Dim caption As String 
Dim buttons As ExceptionMessageBoxButtons 

Dim instance As New ExceptionMessageBox(text, caption, _
    buttons)
public ExceptionMessageBox(
    string text,
    string caption,
    ExceptionMessageBoxButtons buttons
)
public:
ExceptionMessageBox(
    String^ text, 
    String^ caption, 
    ExceptionMessageBoxButtons buttons
)
new : 
        text:string * 
        caption:string * 
        buttons:ExceptionMessageBoxButtons -> ExceptionMessageBox
public function ExceptionMessageBox(
    text : String, 
    caption : String, 
    buttons : ExceptionMessageBoxButtons
)

パラメーター

  • text
    型: System.String
    最上位レベル メッセージのエラー テキストです。
  • caption
    型: System.String
    例外メッセージ ボックスのキャプションです。

関連項目

参照

ExceptionMessageBox クラス

ExceptionMessageBox オーバーロード

Microsoft.SqlServer.MessageBox 名前空間