Export (0) Print
Expand All

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

Creates an instance of ExceptionMessageBox by using information from the specified Exception and by specifying the buttons, symbol, default button, and other properties to display in the exception message box.

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

public ExceptionMessageBox(
	Exception exception,
	ExceptionMessageBoxButtons buttons,
	ExceptionMessageBoxSymbol symbol,
	ExceptionMessageBoxDefaultButton defaultButton,
	ExceptionMessageBoxOptions options
)

Parameters

exception
Type: Exception
Exception that contains the top-level text, inner exception text, caption, data, help link, and optional additional information to display in the exception message box.
buttons
Type: Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons
ExceptionMessageBoxButtons enumeration that specifies the buttons 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.

Community Additions

ADD
Show:
© 2014 Microsoft