IAsyncStringStorage.DeleteIfExistsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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