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.UInt32A token that specifies the connection to remove. Use the value returned by IDataObject.DAdvise when the connection was originally established.
Implements
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.