InMemoryStorage<T>.Clear Method

Definition

Overloads

Clear()

Clears all items stored in memory

Clear(TimeSpan)

Clears items stored in memory based on duration passed

Clear()

Clears all items stored in memory

public void Clear ();
member this.Clear : unit -> unit
Public Sub Clear ()

Applies to

Clear(TimeSpan)

Clears items stored in memory based on duration passed

public void Clear (TimeSpan duration);
member this.Clear : TimeSpan -> unit
Public Sub Clear (duration As TimeSpan)

Parameters

duration
TimeSpan

TimeSpan to identify expired items

Applies to