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


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

Creates an instance of ExceptionMessageBox with the supplied top-level error message text and dialog box caption of the exception message box. The method also specifies the buttons and symbol 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 _
)
'Применение
Dim text As String 
Dim caption As String 
Dim buttons As ExceptionMessageBoxButtons 
Dim symbol As ExceptionMessageBoxSymbol 

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

Параметры

  • 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