Export (0) Print
Expand All

ADVF Enumeration

Specifies the requested behavior when setting up an advise sink or a caching connection with an object.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  System.Runtime.InteropServices.ComTypes
Assembly:  System (in System.dll)

[FlagsAttribute]
public enum ADVF

Member nameDescription
Supported in .NET for Windows Store appsADVF_DATAONSTOPFor data advisory connections, assures accessibility to data.
Supported in .NET for Windows Store appsADVF_NODATAFor data advisory connections (DAdvise or Advise), this flag requests the data object not to send data when it calls OnDataChange.
Supported in .NET for Windows Store appsADVF_ONLYONCERequests that the object make only one change notification or cache update before deleting the connection.
Supported in .NET for Windows Store appsADVF_PRIMEFIRSTRequests 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).
Supported in .NET for Windows Store appsADVFCACHE_FORCEBUILTINThis value is used by DLL object applications and object handlers that perform the drawing of their objects.
Supported in .NET for Windows Store appsADVFCACHE_NOHANDLERSynonym for ADVFCACHE_FORCEBUILTIN, which is used more often.
Supported in .NET for Windows Store appsADVFCACHE_ONSAVEFor 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.

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

.NET for Windows Store apps

Supported in: Windows 8

.NET for Windows Phone apps

Supported in: Windows Phone 8.1

Windows Phone 8.1, 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.

Show:
© 2014 Microsoft