ADVF Enumeration
.NET Framework 3.0
Specifies the requested behavior when setting up an advise sink or a caching connection with an object.
Assembly: System (in system.dll)
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: System.Runtime.InteropServices.ComTypesAssembly: System (in system.dll)
| Member name | Description | |
|---|---|---|
| ADVF_DATAONSTOP | For data advisory connections, assures accessibility to data. | |
| ADVF_NODATA | For data advisory connections (DAdvise or Advise), this flag requests the data object not to send data when it calls OnDataChange. | |
| ADVF_ONLYONCE | Requests that the object make only one change notification or cache update before deleting the connection. | |
| ADVF_PRIMEFIRST | Requests that the object not wait for the data or view to change before making an initial call to OnDataChange (for data or view advisory connections) or updating the cache (for cache connections). | |
| ADVFCACHE_FORCEBUILTIN | This value is used by DLL object applications and object handlers that perform the drawing of their objects. | |
| ADVFCACHE_NOHANDLER | Synonym for ADVFCACHE_FORCEBUILTIN, which is used more often. | |
| ADVFCACHE_ONSAVE | For cache connections, this flag updates the cached representation only when the object containing the cache is saved. |
For additional information about ADVF, see the MDSN library.
The common language runtime throws an exception when a COM method in native code returns an HRESULT. For more information, see How to: Map HRESULTs and Exceptions.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: