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

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

public ExceptionMessageBox(
	string text,
	string caption,
	ExceptionMessageBoxButtons buttons
)

Parameters

text
Type: System.String

Error text of the top-level message.

caption
Type: System.String

Caption of the exception message box.

buttons
Type: Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons

ExceptionMessageBoxButtons enumeration that specifies the buttons to display in the exception message box.

Return to top
Show: