Dela via


UserDataTaskListLimitedWriteOperations.TryCreateOrUpdateTaskAsync Method

Definition

Asynchronously attempts to create or update a task.

public:
 virtual IAsyncOperation<bool> ^ TryCreateOrUpdateTaskAsync(UserDataTask ^ userDataTask) = TryCreateOrUpdateTaskAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryCreateOrUpdateTaskAsync(UserDataTask const& userDataTask);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryCreateOrUpdateTaskAsync(UserDataTask userDataTask);
function tryCreateOrUpdateTaskAsync(userDataTask)
Public Function TryCreateOrUpdateTaskAsync (userDataTask As UserDataTask) As IAsyncOperation(Of Boolean)

Parameters

userDataTask
UserDataTask

The task to create or update.

Returns

A Boolean value indicating if the operation was successful.

Attributes

Applies to