ExceptionMessageBox.DefaultDialogResult 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置当用户以前已经指出不再显示给定的消息时,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。