CopyToClipboardEventHandler Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Delegate that handles the OnCopyToClipboard event that occurs when error information is copied to the Clipboard.
public delegate void CopyToClipboardEventHandler(System::Object ^ sender, CopyToClipboardEventArgs ^ e);
public delegate void CopyToClipboardEventHandler(object sender, CopyToClipboardEventArgs e);
type CopyToClipboardEventHandler = delegate of obj * CopyToClipboardEventArgs -> unit
Public Delegate Sub CopyToClipboardEventHandler(sender As Object, e As CopyToClipboardEventArgs)
Parameters
- sender
- Object
The source of the status event.
A CopyToClipboardEventArgs object that contains the event data.
Remarks
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.