Partager via


Constructeur ExceptionMessageBox (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.

Espace de noms :  Microsoft.SqlServer.MessageBox
Assembly :  Microsoft.ExceptionMessageBox (en Microsoft.ExceptionMessageBox.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    text As String, _
    caption As String _
)
'Utilisation
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
)

Paramètres

  • text
    Type : System.String
    Error text of the top-level message.
  • caption
    Type : System.String
    Caption of the exception message box.

Voir aussi

Référence

ExceptionMessageBox Classe

Surcharge ExceptionMessageBox

Espace de noms Microsoft.SqlServer.MessageBox