CopyToClipboardEventArgs.EventHandled 속성

Gets or sets whether the OnCopyToClipboard event is handled.

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

구문

‘선언
Public Property EventHandled As Boolean 
    Get 
    Set
‘사용 방법
Dim instance As CopyToClipboardEventArgs 
Dim value As Boolean 

value = instance.EventHandled

instance.EventHandled = value
public bool EventHandled { get; set; }
public:
property bool EventHandled {
    bool get ();
    void set (bool value);
}
member EventHandled : bool with get, set
function get EventHandled () : boolean 
function set EventHandled (value : boolean)

속성 값

유형: System.Boolean
A Boolean value.

주의

The default value for EventHandled is false.

If the EventHandled property is set to true, the exception message box does not attempt to copy the message to the clipboard.

If a thread does not belong to a Microsoft Windows form, set the EventHandled property to true. This prevents an error from occurring when displaying the exception message box in a multi-threaded application.

참고 항목

참조

CopyToClipboardEventArgs 클래스

Microsoft.SqlServer.MessageBox 네임스페이스