This topic has not yet been rated - Rate this topic

ExceptionMessageBox Properties

The ExceptionMessageBox type exposes the following members.

  Name Description
Public property Static member AbortButtonText Gets the default text for the Abort button.
Public property Beep Specifies whether to play an audible sound when the message is displayed.
Public property Buttons Gets or sets the buttons to display in the message box.
Public property Static member CancelButtonText Gets the default text for the Cancel button.
Public property Caption Gets or sets the dialog box caption of the exception message box.
Public property CheckBoxRegistryKey Sets an opened RegistryKey that controls the check box that is displayed on the exception message box when Microsoft.SqlServer.MessageBox.ExceptionMessageBox.ShowCheckbox is true.
Public property CheckBoxRegistryMeansDoNotShowDialog Determines whether the registry value content specified by CheckBoxRegistryKey and CheckBoxRegistryValue indicates a previous user decision not to view this message.
Public property CheckBoxRegistryValue Gets or sets the registry value name that controls the check box on the exception message box when Microsoft.SqlServer.MessageBox.ExceptionMessageBox.ShowCheckbox is true.
Public property CheckBoxText Gets or sets the text to display in the check box on the exception message box when Microsoft.SqlServer.MessageBox.ExceptionMessageBox.ShowCheckbox is true.
Public property CustomDialogResult Gets the clicked custom text dialog button.
Public property CustomSymbol Gets or sets a custom bitmap to use as the symbol on the exception message box.
Public property Data Gets the IDictionary interface that stores help link and advanced information associated with the top-level message.
Public property DefaultButton Gets or sets the default button on the message box.
Public property DefaultDialogResult Gets or sets the value returned by the Show method when the user has previously indicated not to show a given message again.
Public property Static member FailButtonText Gets the default text for the Fail button.
Public property Font Gets or sets the font used in the message box.
Public property HelpLink Gets or sets the link to the help file or help Web page associated with the top-level message.
Public property Static member IgnoreButtonText Gets the default text for the Ignore button.
Public property InnerException Gets or sets the Exception instance associated with the lower-level message(s).
Public property IsCheckBoxChecked Specifies whether the check box is selected when Microsoft.SqlServer.MessageBox.ExceptionMessageBox.ShowCheckbox is true.
Public property Message Gets or sets the Exception that contains the message to display.
Public property MessageLevelDefault Gets or sets the number of message levels to display in the message box.
Public property Static member NoButtonText Gets the default text for the No button
Public property Static member OKButtonText Gets the default text for the OK button
Public property Options Gets or sets miscellaneous display options for the message box
Public property Static member RetryButtonText Gets the default text for the Retry button.
Public property ShowCheckBox Specifies whether to show the check box in the exception message box.
Public property ShowToolBar Specifies whether to show the command button toolbar on the exception message box.
Public property Symbol Gets or sets the symbol to display in the exception message box.
Public property Text Gets or sets the text of the top-level message to display in the exception message box
Public property UseOwnerFont Specifies whether to retrieve the font of the owner window and use it as the font for the exception message box.
Public property Static member YesButtonText Gets the default text for the Yes button
Top
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ