次の方法で共有


ExceptionMessageBox.Show メソッド (IntPtr, String, String, String, String, String, String, String)

例外メッセージ ボックスを表示します。 単に情報を示すためだけに特定されます。サポートされていません。将来の互換性は保証されません。

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

構文

'宣言
Public Function Show ( _
    hwnd As IntPtr, _
    message As String, _
    source As String, _
    sourceAppName As String, _
    sourceAppVersion As String, _
    sourceModule As String, _
    sourceMessageId As String, _
    sourceLanguage As String _
) As DialogResult
'使用
Dim instance As ExceptionMessageBox 
Dim hwnd As IntPtr 
Dim message As String 
Dim source As String 
Dim sourceAppName As String 
Dim sourceAppVersion As String 
Dim sourceModule As String 
Dim sourceMessageId As String 
Dim sourceLanguage As String 
Dim returnValue As DialogResult 

returnValue = instance.Show(hwnd, message, _
    source, sourceAppName, sourceAppVersion, _
    sourceModule, sourceMessageId, sourceLanguage)
public DialogResult Show(
    IntPtr hwnd,
    string message,
    string source,
    string sourceAppName,
    string sourceAppVersion,
    string sourceModule,
    string sourceMessageId,
    string sourceLanguage
)
public:
DialogResult Show(
    IntPtr hwnd, 
    String^ message, 
    String^ source, 
    String^ sourceAppName, 
    String^ sourceAppVersion, 
    String^ sourceModule, 
    String^ sourceMessageId, 
    String^ sourceLanguage
)
member Show : 
        hwnd:IntPtr * 
        message:string * 
        source:string * 
        sourceAppName:string * 
        sourceAppVersion:string * 
        sourceModule:string * 
        sourceMessageId:string * 
        sourceLanguage:string -> DialogResult
public function Show(
    hwnd : IntPtr, 
    message : String, 
    source : String, 
    sourceAppName : String, 
    sourceAppVersion : String, 
    sourceModule : String, 
    sourceMessageId : String, 
    sourceLanguage : String
) : DialogResult

パラメーター

  • message
    型: System.String
    このインスタンスに関連付けられた例外のメッセージを含む文字列です。
  • source
    型: System.String
    このインスタンスに関連付けられた例外のソースを含む文字列です。
  • sourceAppName
    型: System.String
    ソース アプリケーションの名前を含む文字列です。
  • sourceAppVersion
    型: System.String
    ソース アプリケーションのバージョンを含む文字列です。
  • sourceModule
    型: System.String
    ソース モジュールの名前を含む文字列です。
  • sourceMessageId
    型: System.String
    ソース メッセージの ID を含む文字列です。
  • sourceLanguage
    型: System.String
    ソース言語を含む文字列です。

戻り値

型: System.Windows.Forms.DialogResult
ユーザーによってクリックされたボタンの DialogResult です。

関連項目

参照

ExceptionMessageBox クラス

Show オーバーロード

Microsoft.SqlServer.MessageBox 名前空間