Costruttore ExceptionMessageBox (String, String, ExceptionMessageBoxButtons)
Creates an instance of ExceptionMessageBox with the supplied top-level error message text and the dialog box caption of the exception message box. The method also specifies buttons to display in the exception message box.
Spazio dei nomi: Microsoft.SqlServer.MessageBox
Assembly: Microsoft.ExceptionMessageBox (in Microsoft.ExceptionMessageBox.dll)
Sintassi
'Dichiarazione
Public Sub New ( _
text As String, _
caption As String, _
buttons As ExceptionMessageBoxButtons _
)
'Utilizzo
Dim text As String
Dim caption As String
Dim buttons As ExceptionMessageBoxButtons
Dim instance As New ExceptionMessageBox(text, caption, _
buttons)
public ExceptionMessageBox(
string text,
string caption,
ExceptionMessageBoxButtons buttons
)
public:
ExceptionMessageBox(
String^ text,
String^ caption,
ExceptionMessageBoxButtons buttons
)
new :
text:string *
caption:string *
buttons:ExceptionMessageBoxButtons -> ExceptionMessageBox
public function ExceptionMessageBox(
text : String,
caption : String,
buttons : ExceptionMessageBoxButtons
)
Parametri
- text
Tipo: System. . :: . .String
Error text of the top-level message.
- caption
Tipo: System. . :: . .String
Caption of the exception message box.
- buttons
Tipo: Microsoft.SqlServer.MessageBox. . :: . .ExceptionMessageBoxButtons
ExceptionMessageBoxButtons enumeration that specifies the buttons to display in the exception message box.