Share via


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

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use #ctor(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptcionMessageBoxDefaultButton, ExceptionMessageBoxOptions) instead.

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

Syntax

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

Parameters

  • caption
    Type: System.String
    Dialog box caption of the exception message box.