WindowsRuntimeSystemExtensions::AsTask Method
.NET Framework (current version)
Returns a task that represents a Windows Runtime asynchronous action or operation.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
AsTask(IAsyncAction) | Returns a task that represents a Windows Runtime asynchronous action. |
|
AsTask<TProgress>(IAsyncActionWithProgress<TProgress>) | Returns a task that represents a Windows Runtime asynchronous action. |
|
AsTask<TResult>(IAsyncOperation<TResult>) | Returns a task that represents a Windows Runtime asynchronous operation returns a result. |
|
AsTask<TResult, TProgress>(IAsyncOperationWithProgress<TResult, TProgress>) | Returns a task that represents a Windows Runtime asynchronous operation returns a result. |
|
AsTask(IAsyncAction, CancellationToken) | Returns a task that represents a Windows Runtime asynchronous action that can be cancelled. |
|
AsTask<TProgress>(IAsyncActionWithProgress<TProgress>, IProgress<TProgress>) | Returns a task that represents a Windows Runtime asynchronous action that reports progress. |
|
AsTask<TProgress>(IAsyncActionWithProgress<TProgress>, CancellationToken) | Returns a task that represents a Windows Runtime asynchronous action that can be cancelled. |
|
AsTask<TResult>(IAsyncOperation<TResult>, CancellationToken) | Returns a task that represents a Windows Runtime asynchronous operation that returns a result and can be cancelled. |
|
AsTask<TResult, TProgress>(IAsyncOperationWithProgress<TResult, TProgress>, IProgress<TProgress>) | Returns a task that represents Windows Runtime asynchronous operation that returns a result and reports progress. |
|
AsTask<TResult, TProgress>(IAsyncOperationWithProgress<TResult, TProgress>, CancellationToken) | Returns a task that represents a Windows Runtime asynchronous operation that returns a result and can be cancelled. |
|
AsTask<TProgress>(IAsyncActionWithProgress<TProgress>, CancellationToken, IProgress<TProgress>) | Returns a task that represents a Windows Runtime asynchronous action that reports progress and can be cancelled. |
|
AsTask<TResult, TProgress>(IAsyncOperationWithProgress<TResult, TProgress>, CancellationToken, IProgress<TProgress>) | Returns a task that represents a Windows Runtime asynchronous operation that returns a result, reports progress, and can be cancelled. |
Show: