ExceptionMessageBox.OnCopyToClipboard Event

Definition

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

public:
 event Microsoft::SqlServer::MessageBox::CopyToClipboardEventHandler ^ OnCopyToClipboard;
public event Microsoft.SqlServer.MessageBox.CopyToClipboardEventHandler OnCopyToClipboard;
member this.OnCopyToClipboard : Microsoft.SqlServer.MessageBox.CopyToClipboardEventHandler 
Public Custom Event OnCopyToClipboard As CopyToClipboardEventHandler 

Event Type

Remarks

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.

Applies to