อ่านในภาษาอังกฤษ

แชร์ผ่าน


AzureStorageResponseCache.RefreshAsync(String, CancellationToken) Method

Definition

Refreshes a value in the cache based on its key, resetting its sliding expiration timeout (if any).

C#
public System.Threading.Tasks.Task RefreshAsync(string key, System.Threading.CancellationToken cancellationToken = default);

Parameters

key
String

A string identifying the requested value.

cancellationToken
CancellationToken

Returns

The Task that represents the asynchronous operation.

Implements

Applies to

ผลิตภัณฑ์ เวอร์ชัน
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)