This function tries to do an Insert asynchronously in remote cache, if successful the operation is then done to client cache

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 override void InsertAsyncOperation(
	string key,
	Object value,
	CacheDependency dependency,
	CacheSyncDependency syncDependency,
	DateTime absoluteExpiration,
	TimeSpan slidingExpiration,
	CacheItemPriority priority,
	DSWriteOption dsWriteOption,
	CacheItemRemovedCallback onRemoveCallback,
	CacheItemUpdatedCallback onUpdateCallback,
	AsyncItemUpdatedCallback onAsyncItemUpdateCallback,
	DataSourceItemsUpdatedCallback onDataSourceItemUpdatedCallback,
	bool isResyncExpiredItems,
	string group,
	string subGroup,
	Tag[] tags,
	string providerName,
	NamedTagsDictionary namedTags,
	CacheDataNotificationCallback cacheItemUdpatedCallback,
	CacheDataNotificationCallback cacheItemRemovedCallaback,
	EventDataFilter itemUpdateDataFilter,
	EventDataFilter itemRemovedDataFilter
)
Visual Basic
Protected Friend Overrides Sub InsertAsyncOperation ( 
	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,
	onAsyncItemUpdateCallback As AsyncItemUpdatedCallback,
	onDataSourceItemUpdatedCallback As DataSourceItemsUpdatedCallback,
	isResyncExpiredItems As Boolean,
	group As String,
	subGroup As String,
	tags As Tag(),
	providerName As String,
	namedTags As NamedTagsDictionary,
	cacheItemUdpatedCallback As CacheDataNotificationCallback,
	cacheItemRemovedCallaback As CacheDataNotificationCallback,
	itemUpdateDataFilter As EventDataFilter,
	itemRemovedDataFilter As EventDataFilter
)
Visual C++
protected public:
virtual void InsertAsyncOperation(
	String^ key, 
	Object^ value, 
	CacheDependency^ dependency, 
	CacheSyncDependency^ syncDependency, 
	DateTime absoluteExpiration, 
	TimeSpan slidingExpiration, 
	CacheItemPriority priority, 
	DSWriteOption dsWriteOption, 
	CacheItemRemovedCallback^ onRemoveCallback, 
	CacheItemUpdatedCallback^ onUpdateCallback, 
	AsyncItemUpdatedCallback^ onAsyncItemUpdateCallback, 
	DataSourceItemsUpdatedCallback^ onDataSourceItemUpdatedCallback, 
	bool isResyncExpiredItems, 
	String^ group, 
	String^ subGroup, 
	array<Tag^>^ tags, 
	String^ providerName, 
	NamedTagsDictionary^ namedTags, 
	CacheDataNotificationCallback^ cacheItemUdpatedCallback, 
	CacheDataNotificationCallback^ cacheItemRemovedCallaback, 
	EventDataFilter itemUpdateDataFilter, 
	EventDataFilter itemRemovedDataFilter
) override

See Also