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
例外メッセージ ボックスのキャプションです。
- buttons
型: Microsoft.SqlServer.MessageBox. . :: . .ExceptionMessageBoxButtons
例外メッセージ ボックスに表示するボタンを指定する ExceptionMessageBoxButtons 列挙です。