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

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Creates an instance of ExceptionMessageBox with the supplied top-level error message text and dialog box caption of the message box. The method also specifies the buttons, symbol, default button, and dialog options 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,
	ExceptionMessageBoxSymbol symbol,
	ExceptionMessageBoxDefaultButton defaultButton,
	ExceptionMessageBoxOptions options
)

Parameters

text
Type: System.String

Error text of the top-level message.

caption
Type: System.String

Dialog box caption of the exception message box.

buttons
Type: Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons

ExceptionMessageBoxSymbol enumeration that specifies the symbol to display in the exception message box.

symbol
Type: Microsoft.SqlServer.MessageBox.ExceptionMessageBoxSymbol

ExceptionMessageBoxSymbol enumeration that specifies the symbol to display in the exception message box.

defaultButton
Type: Microsoft.SqlServer.MessageBox.ExceptionMessageBoxDefaultButton

ExceptionMessageBoxDefaultButton enumeration that specifies the default button for the exception message box.

options
Type: Microsoft.SqlServer.MessageBox.ExceptionMessageBoxOptions

The ExceptionMessageBoxOptions enumeration that controls other behaviors of the exception message box.

Return to top
Show: