ExceptionMessageBox.OnCopyToClipboard Event
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.
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.