다음을 통해 공유


OnCopyToClipboard 이벤트

Occurs when exception message text is copied from the message box to the Clipboard.

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

구문

‘선언
Public Event OnCopyToClipboard As CopyToClipboardEventHandler
‘사용 방법
Dim instance As ExceptionMessageBox
Dim handler As CopyToClipboardEventHandler

AddHandler instance.OnCopyToClipboard, handler
public event CopyToClipboardEventHandler OnCopyToClipboard
public:
 event CopyToClipboardEventHandler^ OnCopyToClipboard {
    void add (CopyToClipboardEventHandler^ value);
    void remove (CopyToClipboardEventHandler^ value);
}
member OnCopyToClipboard : IEvent<CopyToClipboardEventHandler,
    CopyToClipboardEventArgs>
Jscript는 이벤트 사용을 지원하지만 새로운 이벤트 선언은 지원하지 않습니다.

주의

This event is used when the message box in displayed in a multi-threaded application from a thread that does not belong to a Microsoft Windows form. In this case, an exception occurs and this enables the action to be marshaled manually to the appropriate thread.