Share via


UserDataTaskListDeleteTaskRequest Class

Definition

Details of a request to delete a task.

public ref class UserDataTaskListDeleteTaskRequest sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class UserDataTaskListDeleteTaskRequest final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class UserDataTaskListDeleteTaskRequest
Public NotInheritable Class UserDataTaskListDeleteTaskRequest
Inheritance
Object Platform::Object IInspectable UserDataTaskListDeleteTaskRequest
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Properties

TaskId

Gets the task ID of the task to be deleted.

TaskListId

Gets the ID of the task list that contains the task that is to be deleted.

Methods

ReportCompletedAsync()

Informs the client app that the request was processed successfully.

ReportFailedAsync()

Informs the client that the request was not processed successfully.

Applies to