Share via


IAsyncStringStorage.DeleteIfExistsAsync Method

Definition

Overloads

DeleteIfExistsAsync(String)
DeleteIfExistsAsync(String, CancellationToken)

DeleteIfExistsAsync(String)

public:
 System::Threading::Tasks::Task ^ DeleteIfExistsAsync(System::String ^ name);
public System.Threading.Tasks.Task DeleteIfExistsAsync (string name);
abstract member DeleteIfExistsAsync : string -> System.Threading.Tasks.Task
Public Function DeleteIfExistsAsync (name As String) As Task

Parameters

name
String

Returns

Returns Task.

Applies to

DeleteIfExistsAsync(String, CancellationToken)

public System.Threading.Tasks.Task DeleteIfExistsAsync (string name, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteIfExistsAsync (name As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

name
String
cancellationToken
CancellationToken

Returns

Applies to