Share via


ExceptionMessageBox Constructor (String, String)

Creates an instance of ExceptionMessageBox with the supplied top-level error message text and the dialog box caption of the exception message box.

Namespace:  Microsoft.SqlServer.MessageBox
Assembly:  Microsoft.ExceptionMessageBox (in Microsoft.ExceptionMessageBox.dll)

Syntax

'Declaration
Public Sub New ( _
    text As String, _
    caption As String _
)
'Usage
Dim text As String 
Dim caption As String 

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

Parameters

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

See Also

Reference

ExceptionMessageBox Class

ExceptionMessageBox Overload

Microsoft.SqlServer.MessageBox Namespace