ExceptionMessageBox.DefaultDialogResult Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the value returned by the Show(IWin32Window) method when the user has previously indicated not to show a given message again.
public:
property System::Windows::Forms::DialogResult DefaultDialogResult { System::Windows::Forms::DialogResult get(); void set(System::Windows::Forms::DialogResult value); };
public System.Windows.Forms.DialogResult DefaultDialogResult { get; set; }
member this.DefaultDialogResult : System.Windows.Forms.DialogResult with get, set
Public Property DefaultDialogResult As DialogResult
Property Value
An ExceptionMessageBoxDialogResult object.
Remarks
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.