This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Creates an object that can be used to enumerate the current advisory connections.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] int IDataObject.EnumDAdvise( out IEnumSTATDATA enumAdvise )
- Type: System.Runtime.InteropServices.ComTypes.IEnumSTATDATA
When this method returns, contains an IEnumSTATDATA that receives the interface pointer to the new enumerator object. If the implementation sets enumAdvise to null, there are no connections to advisory sinks at this time. This parameter is passed uninitialized.
Return ValueType: System.Int32
This method supports the standard return value E_OUTOFMEMORY, as well as the following:
The enumerator object is successfully instantiated or there are no connections.
This object does not support advisory notifications.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.