Dela via


UserDataTaskList.GetTaskAsync(String) Method

Definition

Asynchronously retrieves the specified UserDataTask object from the UserDataTaskList.

public:
 virtual IAsyncOperation<UserDataTask ^> ^ GetTaskAsync(Platform::String ^ userDataTask) = GetTaskAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<UserDataTask> GetTaskAsync(winrt::hstring const& userDataTask);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<UserDataTask> GetTaskAsync(string userDataTask);
function getTaskAsync(userDataTask)
Public Function GetTaskAsync (userDataTask As String) As IAsyncOperation(Of UserDataTask)

Parameters

userDataTask
String

Platform::String

winrt::hstring

The string that identifies the UserDataTask to return.

Returns

The UserDataTask identified by the UserDataTask parameter.

Attributes

Applies to