CopyToClipboardEventArgs Class

Returns information when the OnCopyToClipboard event occurs.

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

Syntax

'Declaration
Public NotInheritable Class CopyToClipboardEventArgs
    Inherits EventArgs
public sealed class CopyToClipboardEventArgs : EventArgs
public ref class CopyToClipboardEventArgs sealed : public EventArgs
public final class CopyToClipboardEventArgs extends EventArgs
public final class CopyToClipboardEventArgs extends EventArgs

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. In this case, the EventHandled property should be set to true to prevent the exception message box from continuing with the copy operation.

Inheritance Hierarchy

System.Object
   System.EventArgs
    Microsoft.SqlServer.MessageBox.CopyToClipboardEventArgs

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

CopyToClipboardEventArgs Members
Microsoft.SqlServer.MessageBox Namespace