다음을 통해 공유


ExceptionMessageBox.DefaultDialogResult 속성

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

네임스페이스:  Microsoft.SqlServer.MessageBox
어셈블리:  Microsoft.ExceptionMessageBox(Microsoft.ExceptionMessageBox.dll)

구문

‘선언
Public Property DefaultDialogResult As DialogResult 
    Get 
    Set
‘사용 방법
Dim instance As ExceptionMessageBox 
Dim value As DialogResult 

value = instance.DefaultDialogResult

instance.DefaultDialogResult = value
public DialogResult DefaultDialogResult { get; set; }
public:
property DialogResult DefaultDialogResult {
    DialogResult get ();
    void set (DialogResult value);
}
member DefaultDialogResult : DialogResult with get, set
function get DefaultDialogResult () : DialogResult 
function set DefaultDialogResult (value : DialogResult)

속성 값

유형: System.Windows.Forms.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.

참고 항목

참조

ExceptionMessageBox 클래스

Microsoft.SqlServer.MessageBox 네임스페이스