ExceptionMessageBox.DefaultDialogResult 属性

定义

获取或设置当用户以前已经指出不再显示给定的消息时,Show(IWin32Window) 方法的返回值。

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

属性值

一个 ExceptionMessageBoxDialogResult 对象。

注解

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.

默认值为 OK

适用于