UserDataTaskListLimitedWriteOperations.TryDeleteTaskAsync(String) 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.
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