DataCacheOperation Enumeration
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
An enumeration used to specify specific item or region events that can trigger a cache notification.
Namespace: Microsoft.Data.Caching
Assembly: ClientLibrary (in clientlibrary.dll)
Syntax
'Declaration
<FlagsAttribute> _
Public Enumeration DataCacheOperation
'Usage
Dim instance As DataCacheOperation
[FlagsAttribute]
public enum DataCacheOperation
[FlagsAttribute]
public enum class DataCacheOperation
/** @attribute FlagsAttribute() */
public enum DataCacheOperation
FlagsAttribute
public enum DataCacheOperation
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).