Export (0) Print
Expand All

ExceptionMessageBox.DefaultDialogResult Property

Gets or sets the value returned by the Show method when the user has previously indicated not to show a given message again.

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

public DialogResult DefaultDialogResult { get; set; }

Property Value

Type: DialogResult
An ExceptionMessageBoxDialogResult object.

When ShowCheckbox is true, CheckBoxRegistryMeansDoNotShowDialog is true, and the registry value specified by CheckBoxRegistryKey and CheckBoxRegistryValue exists and contains a non-zero value, ExceptionMessageBox returns this value and does not display the message box when Show is called.

The default value is OK.

Community Additions

ADD
Show:
© 2014 Microsoft