SALES: 1-800-867-1380

DataCacheStoreProvider Class

An abstract class that must implemented by read-through or write-behind providers.

System..::..Object
  Microsoft.ApplicationServer.Caching..::..DataCacheStoreProvider

Namespace:  Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Core (in Microsoft.ApplicationServer.Caching.Core.dll)

public abstract class DataCacheStoreProvider implements IDisposable

The DataCacheStoreProvider type exposes the following members.

  NameDescription
Protected methodDataCacheStoreProviderCreates a new instance of the DataCacheStoreProvider class.
Top

  NameDescription
Public methodDelete(DataCacheItemKey)This Delete overload is called for a single item that is deleted from the cache associated with the read-through or write-behind provider.
Public methodDelete(Collection<(Of <<'(DataCacheItemKey>)>>))This Delete overload is called for multiple items that are deleted from the cache associated with the read-through or write-behind provider.
Public methodDispose()()()()Used to dispose the DataCacheStoreProvider class.
Protected methodDispose(Boolean)Used to dispose the DataCacheStoreProvider class.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRead(DataCacheItemKey)This Read overload is called to read a single item from the read-through provider.
Public methodRead(ReadOnlyCollection<(Of <<'(DataCacheItemKey>)>>), IDictionary<(Of <<'(DataCacheItemKey, DataCacheItem>)>>))This Read overload is called to read a multiple items from the read-through provider.
Public methodToString (Inherited from Object.)
Public methodWrite(DataCacheItem)This Write method is called to write a single item to the backend associated with the write-behind provider.
Public methodWrite(IDictionary<(Of <<'(DataCacheItemKey, DataCacheItem>)>>))This Write method is called to write multiple items to the backend associated with the write-behind provider.
Top

For more information see Creating a Read-Through / Write-Behind Provider (Windows Server AppFabric v1.1).

Applies only to Microsoft AppFabric 1.1 for Windows Server.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft