PostSharp 6.5 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching.​Backends Namespace / Memory­Cache­Backend Class / Memory­Cache­Backend Methods / Memory­Cache­Backend.​Dispose­Async­Core Method

MemoryCacheBackend.DisposeAsyncCore Method

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.

Namespace:  PostSharp.Patterns.Caching.Backends
Assembly:  PostSharp.Patterns.Caching.Backends.IMemoryCache (in PostSharp.Patterns.Caching.Backends.IMemoryCache.dll) Version: 6.5.19.0 (6.5.19.0)
Syntax
C#
protected override Task DisposeAsyncCore(
	CancellationToken cancellationToken
)

Parameters

cancellationToken
Type: System.Threading.CancellationToken
A CancellationToken.

Return Value

Type: Task
A Task.
See Also