Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
An enumeration used to specify specific item or region events that can trigger a cache notification.
Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Core (in microsoft.applicationserver.caching.core.dll)
Usage
'Usage
Dim instance As DataCacheOperations
Syntax
'Declaration
<FlagsAttribute> _
Public Enumeration DataCacheOperations
[FlagsAttribute]
public enum DataCacheOperations
[FlagsAttribute]
public enum class DataCacheOperations
/** @attribute FlagsAttribute() */
public enum DataCacheOperations
FlagsAttribute
public enum DataCacheOperations
Members
Member name | Description |
---|---|
AddItem | Indicates that an object was added to the cache. |
ClearRegion | Indicates that a region in the cache was cleared with the ClearRegion method. |
CreateRegion | Indicates that a region in the cache was created with the CreateRegion method. |
RemoveItem | Indicates that an object was removed from the cache. |
RemoveRegion | Indicates that a region in the cache was removed with the RemoveRegion method. |
ReplaceItem | Indicates that an object was replaced in the cache. |
Remarks
This enumeration is used in the add callback method's filter parameter to specify one or more cache operations that can trigger a cache notification. For more information, see Cache Notifications (Velocity).
Select more than one DataCacheOperation enumeration by separating the enumerations with the binary OR operator to perform a bitwise OR. To do this, use the | character in C#, and the Or
character in Visual Basic. For more information, see How to: Add a Cache Notification Callback (Velocity).
Platforms
Development Platforms
Visual Studio 2010 and later, .NET Framework 4
Target Platforms
Windows 7; Windows Server 2008 R2; Windows Server 2008 Service Pack 2; Windows Vista Service Pack 2
See Also
Reference
Microsoft.ApplicationServer.Caching Namespace
ff425062(v=azure.10).md 2011-08-26