다음을 통해 공유


ExceptionMessageBox 생성자 (String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton, ExceptionMessageBoxOptions)

이 API는 SQL Server 2012 인프라를 지원하기 위한 것으로 코드에서 직접 사용할 수 없습니다.

Creates an instance of ExceptionMessageBox with the supplied top-level error message text and dialog box caption of the message box. The method also specifies the buttons, symbol, default button, and dialog options to display in the exception message box.

네임스페이스:  Microsoft.SqlServer.MessageBox
어셈블리:  Microsoft.ExceptionMessageBox(Microsoft.ExceptionMessageBox.dll)

구문

‘선언
Public Sub New ( _
    text As String, _
    caption As String, _
    buttons As ExceptionMessageBoxButtons, _
    symbol As ExceptionMessageBoxSymbol, _
    defaultButton As ExceptionMessageBoxDefaultButton, _
    options As ExceptionMessageBoxOptions _
)
‘사용 방법
Dim text As String 
Dim caption As String 
Dim buttons As ExceptionMessageBoxButtons 
Dim symbol As ExceptionMessageBoxSymbol 
Dim defaultButton As ExceptionMessageBoxDefaultButton 
Dim options As ExceptionMessageBoxOptions 

Dim instance As New ExceptionMessageBox(text, caption, _
    buttons, symbol, defaultButton, options)
public ExceptionMessageBox(
    string text,
    string caption,
    ExceptionMessageBoxButtons buttons,
    ExceptionMessageBoxSymbol symbol,
    ExceptionMessageBoxDefaultButton defaultButton,
    ExceptionMessageBoxOptions options
)
public:
ExceptionMessageBox(
    String^ text, 
    String^ caption, 
    ExceptionMessageBoxButtons buttons, 
    ExceptionMessageBoxSymbol symbol, 
    ExceptionMessageBoxDefaultButton defaultButton, 
    ExceptionMessageBoxOptions options
)
new : 
        text:string * 
        caption:string * 
        buttons:ExceptionMessageBoxButtons * 
        symbol:ExceptionMessageBoxSymbol * 
        defaultButton:ExceptionMessageBoxDefaultButton * 
        options:ExceptionMessageBoxOptions -> ExceptionMessageBox
public function ExceptionMessageBox(
    text : String, 
    caption : String, 
    buttons : ExceptionMessageBoxButtons, 
    symbol : ExceptionMessageBoxSymbol, 
    defaultButton : ExceptionMessageBoxDefaultButton, 
    options : ExceptionMessageBoxOptions
)

매개 변수

  • text
    유형: System.String
    Error text of the top-level message.
  • caption
    유형: System.String
    Dialog box caption of the exception message box.

참고 항목

참조

ExceptionMessageBox 클래스

ExceptionMessageBox 오버로드

Microsoft.SqlServer.MessageBox 네임스페이스