次の方法で共有


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

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

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

構文

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

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

パラメーター

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

関連項目

参照

ExceptionMessageBox クラス

ExceptionMessageBox オーバーロード

Microsoft.SqlServer.MessageBox 名前空間