다음을 통해 공유


ExceptionMessageBox 생성자 (Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton)

Creates an instance of ExceptionMessageBox by using information from the specified Exception and by specifying the buttons, symbol, and default button to display in the exception message box. .

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

구문

‘선언
Public Sub New ( _
    exception As Exception, _
    buttons As ExceptionMessageBoxButtons, _
    symbol As ExceptionMessageBoxSymbol, _
    defaultButton As ExceptionMessageBoxDefaultButton _
)
‘사용 방법
Dim exception As Exception 
Dim buttons As ExceptionMessageBoxButtons 
Dim symbol As ExceptionMessageBoxSymbol 
Dim defaultButton As ExceptionMessageBoxDefaultButton 

Dim instance As New ExceptionMessageBox(exception, _
    buttons, symbol, defaultButton)
public ExceptionMessageBox(
    Exception exception,
    ExceptionMessageBoxButtons buttons,
    ExceptionMessageBoxSymbol symbol,
    ExceptionMessageBoxDefaultButton defaultButton
)
public:
ExceptionMessageBox(
    Exception^ exception, 
    ExceptionMessageBoxButtons buttons, 
    ExceptionMessageBoxSymbol symbol, 
    ExceptionMessageBoxDefaultButton defaultButton
)
new : 
        exception:Exception * 
        buttons:ExceptionMessageBoxButtons * 
        symbol:ExceptionMessageBoxSymbol * 
        defaultButton:ExceptionMessageBoxDefaultButton -> ExceptionMessageBox
public function ExceptionMessageBox(
    exception : Exception, 
    buttons : ExceptionMessageBoxButtons, 
    symbol : ExceptionMessageBoxSymbol, 
    defaultButton : ExceptionMessageBoxDefaultButton
)

매개 변수

  • exception
    유형: System.Exception
    Exception that contains the top-level text, inner exception text, caption, data, help link, and optional additional information to display in the exception message box.

참고 항목

참조

ExceptionMessageBox 클래스

ExceptionMessageBox 오버로드

Microsoft.SqlServer.MessageBox 네임스페이스