Udostępnij za pośrednictwem


UserDataTaskList Class

Definition

Represents a list of UserDataTask objects.

public ref class UserDataTaskList 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 UserDataTaskList 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 UserDataTaskList
Public NotInheritable Class UserDataTaskList
Inheritance
Object Platform::Object IInspectable UserDataTaskList
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

DisplayName

Gets or sets the name of the UserDataTaskList, suitable for display in the user interface.

Id

Gets the locally unique identifier for this UserDataTaskList.

LimitedWriteOperations

Gets an object that provides operations that an app can perform on a task list that it has not created.

OtherAppReadAccess

Gets or sets a value indicating the read access level to this UserDataTaskList for other apps on the system.

OtherAppWriteAccess

Gets or sets a value indicating the write access level to this UserDataTaskList for other apps on the system.

SourceDisplayName

Gets the name of the source of the UserDataTaskList, suitable for display in the user interface.

SyncManager

Gets the UserDataTaskListSyncManager used to communicate with the server.

UserDataAccountId

Gets a string that represents the ID of the user data account for this UserDataTaskList.

Methods

DeleteAsync()

Asynchronously deletes this UserDataTaskList, including all UserDataTask objects in the UserDataTaskStore.

DeleteTaskAsync(String)

Asynchronously deletes and individual UserDataTask from this UserDataTaskList and the UserDataTaskStore.

GetTaskAsync(String)

Asynchronously retrieves the specified UserDataTask object from the UserDataTaskList.

GetTaskReader()

Gets a UserDataTaskReader object associated with this UserDataTaskList.

GetTaskReader(UserDataTaskQueryOptions)

Gets a UserDataTaskReader object associated with this UserDataTaskList by using the specified UserDataTaskQueryOptions.

RegisterSyncManagerAsync()

Adds a SyncManager to the UserDataTaskList.

SaveAsync()

Asynchronously saves this UserDataTaskList.

SaveTaskAsync(UserDataTask)

Asynchronously saves the specified UserDataTask to the UserDataTaskStore.

Applies to