Partilhar via


Construtor ExceptionMessageBox (String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton, ExceptionMessageBoxOptions)

Esse recurso será removido em uma versão futura do Microsoft SQL Server. Evite usar esse recurso em desenvolvimentos novos e planeje modificar os aplicativos que atualmente o utilizam. Use #ctor(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptcionMessageBoxDefaultButton, ExceptionMessageBoxOptions) instead.

Namespace:  Microsoft.NetEnterpriseServers
Assembly:  Microsoft.NetEnterpriseServers.ExceptionMessageBox (em Microsoft.NetEnterpriseServers.ExceptionMessageBox.dll)

Sintaxe

'Declaração
Public Sub New ( _
    text As String, _
    caption As String, _
    buttons As ExceptionMessageBoxButtons, _
    symbol As ExceptionMessageBoxSymbol, _
    defaultButton As ExceptionMessageBoxDefaultButton, _
    options As ExceptionMessageBoxOptions _
)
'Uso
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
)

Parâmetros