PostSharpAPI ReferencePost­Sharp.​Patterns.​Caching.​Backends.​RedisRedis­Caching­BackendDispose­Async­Core
Open sandboxFocus

RedisCachingBackend.DisposeAsyncCore Method

DisposeAsyncCore(CancellationToken)

Asynchronously disposes the current CachingBackend. This protected method is part of the implementation API and is meant to be overridden in user code, not invoked.

Declaration
protected override Task DisposeAsyncCore(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken

A CancellationToken.

Returns
Type Description
System.Threading.Tasks.Task

A System.Threading.Tasks.Task.

Overrides
CachingBackend.DisposeAsyncCore(CancellationToken)