Partager via


IAsyncStringStorage.ClearAsync Method

Definition

Overloads

ClearAsync()
ClearAsync(CancellationToken)

Only used by tests. Does not fire change events.

ClearAsync()

public:
 System::Threading::Tasks::Task ^ ClearAsync();
public System.Threading.Tasks.Task ClearAsync ();
abstract member ClearAsync : unit -> System.Threading.Tasks.Task
Public Function ClearAsync () As Task

Returns

Returns Task.

Remarks

This operation does not fire change events.

Applies to

ClearAsync(CancellationToken)

Only used by tests. Does not fire change events.

public System.Threading.Tasks.Task ClearAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member ClearAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ClearAsync (Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

cancellationToken
CancellationToken

Returns

Applies to