Clase CopyToClipboardEventArgs
Returns information when the OnCopyToClipboard event occurs.
Jerarquía de herencia
System.Object
System.EventArgs
Microsoft.SqlServer.MessageBox.CopyToClipboardEventArgs
Espacio de nombres: Microsoft.SqlServer.MessageBox
Ensamblado: Microsoft.ExceptionMessageBox (en Microsoft.ExceptionMessageBox.dll)
Sintaxis
'Declaración
Public NotInheritable Class CopyToClipboardEventArgs _
Inherits EventArgs
'Uso
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
El tipo CopyToClipboardEventArgs expone los siguientes miembros.
Constructores
Nombre | Descripción | |
---|---|---|
CopyToClipboardEventArgs() | Creates a new instance of CopyToClipboardEventArgs with the default properties. | |
CopyToClipboardEventArgs(String) | Creates a new instance of CopyToClipboardEventArgs with the specified copied text. |
Arriba
Propiedades
Nombre | Descripción | |
---|---|---|
ClipboardText | Gets the error message information being copied. | |
EventHandled | Gets or sets whether the OnCopyToClipboard event is handled. |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
Equals | (Se hereda de Object.) | |
GetHashCode | (Se hereda de Object.) | |
GetType | (Se hereda de Object.) | |
ToString | (Se hereda de Object.) |
Arriba
Comentarios
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.
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.