Condividi tramite


Classe CopyToClipboardEventArgs

Returns information when the OnCopyToClipboard event occurs.

Spazio dei nomi:  Microsoft.SqlServer.MessageBox
Assembly:  Microsoft.ExceptionMessageBox (in Microsoft.ExceptionMessageBox.dll)

Sintassi

'Dichiarazione
Public NotInheritable Class CopyToClipboardEventArgs _
    Inherits EventArgs
'Utilizzo
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

Osservazioni

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.

Gerarchia di ereditarietà

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

Thread Safety

Tutti i membri pubblici static (Shared in Visual Basic) di questo tipo sono thread safe. I membri di istanza non hanno garanzia di essere thread safe.