CacheServiceExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extension methods for the ICacheService.
public ref class CacheServiceExtensions abstract sealed
public static class CacheServiceExtensions
type CacheServiceExtensions = class
Public Module CacheServiceExtensions
- Inheritance
-
CacheServiceExtensions
Methods
SetItemAsync(ICacheService, CacheItemKey, Stream, Boolean, CancellationToken) |
Tries to add an item to cache and return a unique key. Stream will be read till end to determine content and size. |
TryGetItemAsync(ICacheService, CacheItemKey, Boolean, CancellationToken) |
Tries to retrieve an item from cache that is assigned to a particular key. |
TryGetItemAsync(ICacheService, CacheItemKey, CancellationToken) |
Tries to retrieve an item from cache that is assigned to a particular key. |