다음을 통해 공유


ExceptionMessageBox.Show 메서드 (IntPtr, String, String, String, String, String, String, String)

Displays the exception message box. 정보를 제공하기 위해서만 확인됩니다. 지원되지 않습니다. 향후 호환성은 보장되지 않습니다.

네임스페이스:  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
    A string containing the message for the exception associated with this instance.
  • source
    유형: System.String
    A string containing the source for the exception associated with this instance.
  • sourceAppName
    유형: System.String
    A string containing the name of the source application.
  • sourceAppVersion
    유형: System.String
    A string containing the source application version.
  • sourceModule
    유형: System.String
    A string containing the source module name.
  • sourceMessageId
    유형: System.String
    A string containing the source message ID.
  • sourceLanguage
    유형: System.String
    A string containing the source language.

반환 값

유형: System.Windows.Forms.DialogResult
The DialogResult of the button clicked by the user.

참고 항목

참조

ExceptionMessageBox 클래스

Show 오버로드

Microsoft.SqlServer.MessageBox 네임스페이스