CopyToClipboardEventHandler 대리자

Delegate that handles the OnCopyToClipboard event that occurs when error information is copied to the Clipboard.

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

구문

‘선언
Public Delegate Sub CopyToClipboardEventHandler ( _
    sender As Object, _
    e As CopyToClipboardEventArgs _
)
‘사용 방법
Dim instance As New CopyToClipboardEventHandler(AddressOf HandlerMethod)
public delegate void CopyToClipboardEventHandler(
    Object sender,
    CopyToClipboardEventArgs e
)
public delegate void CopyToClipboardEventHandler(
    Object^ sender, 
    CopyToClipboardEventArgs^ e
)
type CopyToClipboardEventHandler = 
    delegate of  
        sender:Object * 
        e:CopyToClipboardEventArgs -> unit
Jscript는 위임 사용을 지원하지만 새로운 위임의 선언은 지원하지 않습니다.

매개 변수

주의

The OnCopyToClipboard event is used when the message box is 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 the OnCopyToClipboard event enables the action to be marshaled manually to the appropriate thread.

참고 항목

참조

Microsoft.SqlServer.MessageBox 네임스페이스