PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching.​Backends.​Redis Namespace / Redis­Cache­Dependency­Garbage­Collector Class / Redis­Cache­Dependency­Garbage­Collector Methods / Redis­Cache­Dependency­Garbage­Collector.​Dispose­Async Method

RedisCacheDependencyGarbageCollector.DisposeAsync Method

Asynchronously disposes the current object.

Namespace:  PostSharp.Patterns.Caching.Backends.Redis
Assembly:  PostSharp.Patterns.Caching.Backends.Redis (in PostSharp.Patterns.Caching.Backends.Redis.dll) Version: 6.9.11.0 (6.9.11.0)
Syntax
C#
public Task DisposeAsync(
	CancellationToken cancellationToken = null
)

Parameters

cancellationToken (Optional)
Type: System.Threading.CancellationToken
A CancellationToken.

Return Value

Type: Task
A Task.
See Also