DataCacheOperations Enumeration

 

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)

Syntax

[FlagsAttribute]
public enum DataCacheOperations
[FlagsAttribute]
public enum class DataCacheOperations
[<FlagsAttribute>]
type DataCacheOperations
<FlagsAttribute>
Public Enumeration 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 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. 

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.

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.

See Also

Microsoft.ApplicationServer.Caching Namespace

Return to top