Export (0) Print
Expand All

CopyToClipboardEventHandler Delegate

 

Applies To: SQL Server 2016 Preview

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

Namespace:   Microsoft.SqlServer.MessageBox
Assembly:  Microsoft.ExceptionMessageBox (in Microsoft.ExceptionMessageBox.dll)

public delegate void CopyToClipboardEventHandler(
	object sender,
	CopyToClipboardEventArgs e
)

Parameters

sender
Type: System.Object

The source of the status event.

e
Type: Microsoft.SqlServer.MessageBox.CopyToClipboardEventArgs

A CopyToClipboardEventArgs object that contains the event data.

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.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft