Share via


UserDataTaskListLimitedWriteOperations.TryDeleteTaskAsync(String) Method

Definition

Asynchronously attempts to delete a task.

public:
 virtual IAsyncOperation<bool> ^ TryDeleteTaskAsync(Platform::String ^ userDataTaskId) = TryDeleteTaskAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryDeleteTaskAsync(winrt::hstring const& userDataTaskId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryDeleteTaskAsync(string userDataTaskId);
function tryDeleteTaskAsync(userDataTaskId)
Public Function TryDeleteTaskAsync (userDataTaskId As String) As IAsyncOperation(Of Boolean)

Parameters

userDataTaskId
String

Platform::String

winrt::hstring

The ID of the task to delete.

Returns

A Boolean value indicating if the operation was successful.

Attributes

Applies to