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.CachingAssembly: Alachisoft.NCache.Web (in Alachisoft.NCache.Web.dll) Version: 4.1.0.0 (4.1.0.0)
Syntax
C# |
---|
protected internal virtual Object 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 ) |
Visual Basic |
---|
Protected Friend Overridable Function 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 _ ) As Object |
Visual C++ |
---|
protected public: virtual Object^ 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 ) |
Parameters
- key
- Type: System..::..String
- value
- Type: System..::..Object
- dependency
- Type: Alachisoft.NCache.Runtime.Dependencies..::..CacheDependency
- syncDependency
- Type: Alachisoft.NCache.Web.Caching..::..CacheSyncDependency
- absoluteExpiration
- Type: System..::..DateTime
- slidingExpiration
- Type: System..::..TimeSpan
- priority
- Type: Alachisoft.NCache.Runtime..::..CacheItemPriority
- dsWriteOption
- Type: Alachisoft.NCache.Web.Caching..::..DSWriteOption
- onRemoveCallback
- Type: Alachisoft.NCache.Web.Caching..::..CacheItemRemovedCallback
- onUpdateCallback
- Type: Alachisoft.NCache.Web.Caching..::..CacheItemUpdatedCallback
- onAsyncItemAddCallback
- Type: Alachisoft.NCache.Web.Caching..::..AsyncItemAddedCallback
- onDataSourceItemAdded
- Type: Alachisoft.NCache.Web.Caching..::..DataSourceItemsAddedCallback
- isResyncExpiredItems
- Type: System..::..Boolean
- group
- Type: System..::..String
- subGroup
- Type: System..::..String
- tags
- Type: array<Alachisoft.NCache.Runtime.Caching..::..Tag>[]()[][]
- providerName
- Type: System..::..String
- resyncProviderName
- Type: System..::..String
- namedTags
- Type: Alachisoft.NCache.Runtime.Caching..::..NamedTagsDictionary