GetItemAsyncCore(string, bool, CancellationToken)
Asynchronously gets a cache item given its key. This protected method is part of the implementation API and is meant to be overridden in user code, not invoked. Arguments are already validated by the consumer API.
Declaration
protected override Task<CacheValue> GetItemAsyncCore(string key, bool includeDependencies, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | key | The cache item. |
bool | includeDependencies |
|
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<CacheValue> | A Task evaluating to a CacheValue, or evaluating to |