Compartir a través de


Delegado CopyToClipboardEventHandler

Delegate that handles the OnCopyToClipboard event that occurs when error information is copied to the Clipboard.

Espacio de nombres:  Microsoft.SqlServer.MessageBox
Ensamblado:  Microsoft.ExceptionMessageBox (en Microsoft.ExceptionMessageBox.dll)

Sintaxis

'Declaración
Public Delegate Sub CopyToClipboardEventHandler ( _
    sender As Object, _
    e As CopyToClipboardEventArgs _
)
'Uso
Dim instance As New CopyToClipboardEventHandler(AddressOf HandlerMethod)
public delegate void CopyToClipboardEventHandler(
    Object sender,
    CopyToClipboardEventArgs e
)
public delegate void CopyToClipboardEventHandler(
    Object^ sender, 
    CopyToClipboardEventArgs^ e
)
type CopyToClipboardEventHandler = 
    delegate of  
        sender:Object * 
        e:CopyToClipboardEventArgs -> unit
JScript admite el uso de delegados, pero no la declaración de otros nuevos.

Parámetros

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.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.MessageBox