Function that choose the appropriate function of NCache's Cache, that need to be called according to the data provided to it.

Namespace: Alachisoft.NCache.Web.Caching
Assembly: Alachisoft.NCache.Web (in Alachisoft.NCache.Web.dll) Version: 4.3.0.0 (4.3.0.0)

Syntax

C#
protected internal virtual void AddAsyncOperation(
	string key,
	Object value,
	CacheDependency dependency,
	CacheSyncDependency syncDependency,
	DateTime absoluteExpiration,
	TimeSpan slidingExpiration,
	CacheItemPriority priority,
	DSWriteOption dsWriteOption,
	CacheItemRemovedCallback onRemoveCallback,
	CacheItemUpdatedCallback onUpdateCallback,
	AsyncItemAddedCallback onAsyncItemAddCallback,
	DataSourceItemsAddedCallback onDataSourceItemAdded,
	bool isResyncExpiredItems,
	string group,
	string subGroup,
	Tag[] tags,
	string providerName,
	string resyncProviderName,
	NamedTagsDictionary namedTags,
	CacheDataNotificationCallback cacheItemUdpatedCallback,
	CacheDataNotificationCallback cacheItemRemovedCallaback,
	EventDataFilter itemUpdateDataFilter,
	EventDataFilter itemRemovedDataFilter
)
Visual Basic
Protected Friend Overridable Sub AddAsyncOperation ( 
	key As String,
	value As Object,
	dependency As CacheDependency,
	syncDependency As CacheSyncDependency,
	absoluteExpiration As DateTime,
	slidingExpiration As TimeSpan,
	priority As CacheItemPriority,
	dsWriteOption As DSWriteOption,
	onRemoveCallback As CacheItemRemovedCallback,
	onUpdateCallback As CacheItemUpdatedCallback,
	onAsyncItemAddCallback As AsyncItemAddedCallback,
	onDataSourceItemAdded As DataSourceItemsAddedCallback,
	isResyncExpiredItems As Boolean,
	group As String,
	subGroup As String,
	tags As Tag(),
	providerName As String,
	resyncProviderName As String,
	namedTags As NamedTagsDictionary,
	cacheItemUdpatedCallback As CacheDataNotificationCallback,
	cacheItemRemovedCallaback As CacheDataNotificationCallback,
	itemUpdateDataFilter As EventDataFilter,
	itemRemovedDataFilter As EventDataFilter
)
Visual C++
protected public:
virtual void AddAsyncOperation(
	String^ key, 
	Object^ value, 
	CacheDependency^ dependency, 
	CacheSyncDependency^ syncDependency, 
	DateTime absoluteExpiration, 
	TimeSpan slidingExpiration, 
	CacheItemPriority priority, 
	DSWriteOption dsWriteOption, 
	CacheItemRemovedCallback^ onRemoveCallback, 
	CacheItemUpdatedCallback^ onUpdateCallback, 
	AsyncItemAddedCallback^ onAsyncItemAddCallback, 
	DataSourceItemsAddedCallback^ onDataSourceItemAdded, 
	bool isResyncExpiredItems, 
	String^ group, 
	String^ subGroup, 
	array<Tag^>^ tags, 
	String^ providerName, 
	String^ resyncProviderName, 
	NamedTagsDictionary^ namedTags, 
	CacheDataNotificationCallback^ cacheItemUdpatedCallback, 
	CacheDataNotificationCallback^ cacheItemRemovedCallaback, 
	EventDataFilter itemUpdateDataFilter, 
	EventDataFilter itemRemovedDataFilter
)

See Also