Share via


ClipboardObject.IDataObject.DUnadvise Method

Removes a notification connection that has been established.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Private Sub DUnadvise ( _
    dwConnection As UInteger _
) Implements IDataObject.DUnadvise
void IDataObject.DUnadvise(
    uint dwConnection
)
private:
virtual void DUnadvise(
    unsigned int dwConnection
) sealed = IDataObject::DUnadvise
private abstract DUnadvise : 
        dwConnection:uint32 -> unit  
private override DUnadvise : 
        dwConnection:uint32 -> unit
JScript does not support explicit interface implementations.

Parameters

  • dwConnection
    Type: System.UInt32

    A token that specifies the connection to remove. Use the value returned by IDataObject.DAdvise when the connection was originally established.

Implements

IDataObject.DUnadvise(UInt32)

Exceptions

Exception Condition
NotImplementedException

The current clipboard object does not wrap an existing IDataObject (from the Microsoft.VisualStudio.OLE.Interop namespace).

Remarks

If the clipboard object wraps an existing IDataObject (from the Microsoft.VisualStudio.OLE.Interop namespace), this method delegates the call to the corresponding DUnadvise from that namespace. Otherwise, it throws the NotImplementedException exception.

.NET Framework Security

See Also

Reference

ClipboardObject Class

Microsoft.VisualStudio.Data.Framework Namespace