Поделиться через


Конструктор ExceptionMessageBox (Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol)

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

Пространство имен:  Microsoft.SqlServer.MessageBox
Сборка:  Microsoft.ExceptionMessageBox (в Microsoft.ExceptionMessageBox.dll)

Синтаксис

'Декларация
Public Sub New ( _
    exception As Exception, _
    buttons As ExceptionMessageBoxButtons, _
    symbol As ExceptionMessageBoxSymbol _
)
'Применение
Dim exception As Exception 
Dim buttons As ExceptionMessageBoxButtons 
Dim symbol As ExceptionMessageBoxSymbol 

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

Параметры

  • 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