Sdílet prostřednictvím


IDistributedCache.Refresh(String) Method

Definition

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

public:
 void Refresh(System::String ^ key);
public void Refresh (string key);
abstract member Refresh : string -> unit
Public Sub Refresh (key As String)

Parameters

key
String

A string identifying the requested value.

Applies to