DataCacheOperations Enumeration

 

Updated: June 30, 2012

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)

[FlagsAttribute]
public enum DataCacheOperations

Member nameDescription
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 M:Microsoft.ApplicationServer.Caching.DataCache.CreateRegion(System.String,System.Boolean) 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. 

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.

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.

Return to top
Show: