UserDataTaskStore.CreateListAsync 方法

定义

重载

CreateListAsync(String)

异步创建具有指定名称的 UserDataTaskList

CreateListAsync(String, String)

异步创建具有指定名称的 UserDataTaskList

CreateListAsync(String)

异步创建具有指定名称的 UserDataTaskList

public:
 virtual IAsyncOperation<UserDataTaskList ^> ^ CreateListAsync(Platform::String ^ name) = CreateListAsync;
/// [Windows.Foundation.Metadata.Overload("CreateListAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<UserDataTaskList> CreateListAsync(winrt::hstring const& name);
[Windows.Foundation.Metadata.Overload("CreateListAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<UserDataTaskList> CreateListAsync(string name);
function createListAsync(name)
Public Function CreateListAsync (name As String) As IAsyncOperation(Of UserDataTaskList)

参数

name
String

Platform::String

winrt::hstring

UserDataTaskList 的名称。

返回

新创建的 UserDataTaskList

属性

适用于

CreateListAsync(String, String)

异步创建具有指定名称的 UserDataTaskList

public:
 virtual IAsyncOperation<UserDataTaskList ^> ^ CreateListAsync(Platform::String ^ name, Platform::String ^ userDataAccountId) = CreateListAsync;
/// [Windows.Foundation.Metadata.Overload("CreateListInAccountAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<UserDataTaskList> CreateListAsync(winrt::hstring const& name, winrt::hstring const& userDataAccountId);
[Windows.Foundation.Metadata.Overload("CreateListInAccountAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<UserDataTaskList> CreateListAsync(string name, string userDataAccountId);
function createListAsync(name, userDataAccountId)
Public Function CreateListAsync (name As String, userDataAccountId As String) As IAsyncOperation(Of UserDataTaskList)

参数

name
String

Platform::String

winrt::hstring

UserDataTaskList 的名称。

userDataAccountId
String

Platform::String

winrt::hstring

创建 UserDataTaskList 时要使用的 UserDataAccount 的 ID。

返回

属性

适用于