PostSharpAPI ReferencePost­Sharp.​Patterns.​Caching.​ImplementationCaching­BackendRemove­Item­Async
Open sandboxFocus

CachingBackend.RemoveItemAsync Method

RemoveItemAsync(String, CancellationToken)

Asynchronously removes a cache item from the cache given its key.

Declaration
public Task RemoveItemAsync([Required] string key, CancellationToken cancellationToken = null)
Parameters
Type Name Description
String key

The key of the cache item.

CancellationToken cancellationToken

A CancellationToken.

Returns
Type Description
Task

A Task.