CopyToClipboardEventArgs-Klasse
Returns information when the OnCopyToClipboard event occurs.
Vererbungshierarchie
System.Object
System.EventArgs
Microsoft.SqlServer.MessageBox.CopyToClipboardEventArgs
Namespace: Microsoft.SqlServer.MessageBox
Assembly: Microsoft.ExceptionMessageBox (in Microsoft.ExceptionMessageBox.dll)
Syntax
'Declaration
Public NotInheritable Class CopyToClipboardEventArgs _
Inherits EventArgs
'Usage
Dim instance As CopyToClipboardEventArgs
public sealed class CopyToClipboardEventArgs : EventArgs
public ref class CopyToClipboardEventArgs sealed : public EventArgs
[<SealedAttribute>]
type CopyToClipboardEventArgs =
class
inherit EventArgs
end
public final class CopyToClipboardEventArgs extends EventArgs
Der CopyToClipboardEventArgs-Typ macht folgende Elemente verfügbar.
Konstruktoren
Name | Beschreibung | |
---|---|---|
CopyToClipboardEventArgs() | Creates a new instance of CopyToClipboardEventArgs with the default properties. | |
CopyToClipboardEventArgs(String) | Creates a new instance of CopyToClipboardEventArgs with the specified copied text. |
Zum Anfang
Eigenschaften
Name | Beschreibung | |
---|---|---|
ClipboardText | Gets the error message information being copied. | |
EventHandled | Gets or sets whether the OnCopyToClipboard event is handled. |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
Equals | (Geerbt von Object.) | |
GetHashCode | (Geerbt von Object.) | |
GetType | (Geerbt von Object.) | |
ToString | (Geerbt von Object.) |
Zum Anfang
Hinweise
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.
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.