HybridCache.RemoveByTagAsync 方法

定义

重载

RemoveByTagAsync(IEnumerable<String>, CancellationToken)

异步删除与指定标记关联的所有值。

RemoveByTagAsync(String, CancellationToken)

异步删除与指定标记关联的所有值。

RemoveByTagAsync(IEnumerable<String>, CancellationToken)

Source:
HybridCache.cs

异步删除与指定标记关联的所有值。

public virtual System.Threading.Tasks.ValueTask RemoveByTagAsync (System.Collections.Generic.IEnumerable<string> tags, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveByTagAsync : seq<string> * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask
override this.RemoveByTagAsync : seq<string> * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask
Public Overridable Function RemoveByTagAsync (tags As IEnumerable(Of String), Optional cancellationToken As CancellationToken = Nothing) As ValueTask

参数

cancellationToken
CancellationToken

返回

注解

实现者应将 null 视为空。

适用于

RemoveByTagAsync(String, CancellationToken)

Source:
HybridCache.cs

异步删除与指定标记关联的所有值。

public abstract System.Threading.Tasks.ValueTask RemoveByTagAsync (string tag, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveByTagAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask
Public MustOverride Function RemoveByTagAsync (tag As String, Optional cancellationToken As CancellationToken = Nothing) As ValueTask

参数

tag
String
cancellationToken
CancellationToken

返回

适用于