PostSharp5.0/API Reference/Post­Sharp.​Patterns.​Caching Namespace/Caching­Services.​Invalidation Class/Invalidation Methods/Invalidation.​Invalidate­Async Method/Caching­Services.​Invalidation.​Invalidate­Async Method (String)

CachingServices.Invalidation.InvalidateAsync Method (String)

Asynchronously invalidates a cache dependency given as String, i.e. removes all cache items that are dependent on this dependency key.

Namespace:  PostSharp.Patterns.Caching
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public static Task InvalidateAsync(
	string dependencyKey
)

Parameters

dependencyKey
Type: System.String

Return Value

Type: Task
See Also