Export (0) Print
Expand All

WindowsRuntimeSystemExtensions Methods

.NET Framework 4.5

The WindowsRuntimeSystemExtensions type exposes the following members.

  Name Description
Public method Static member AsAsyncAction Returns a Windows Runtime asynchronous action that represents a started task.
Public method Static member AsAsyncOperation<TResult> Returns a Windows Runtime asynchronous operation that represents a started task that returns a result.
Public method Static member AsTask(IAsyncAction) Returns a task that represents a Windows Runtime asynchronous action.
Public method Static member AsTask(IAsyncAction, CancellationToken) Returns a task that represents a Windows Runtime asynchronous action that can be cancelled.
Public method Static member AsTask<TProgress>(IAsyncActionWithProgress<TProgress>) Returns a task that represents a Windows Runtime asynchronous action.
Public method Static member AsTask<TResult>(IAsyncOperation<TResult>) Returns a task that represents a Windows Runtime asynchronous operation returns a result.
Public method Static member AsTask<TProgress>(IAsyncActionWithProgress<TProgress>, IProgress<TProgress>) Returns a task that represents a Windows Runtime asynchronous action that reports progress.
Public method Static member AsTask<TProgress>(IAsyncActionWithProgress<TProgress>, CancellationToken) Returns a task that represents a Windows Runtime asynchronous action that can be cancelled.
Public method Static member AsTask<TResult>(IAsyncOperation<TResult>, CancellationToken) Returns a task that represents a Windows Runtime asynchronous operation that returns a result and can be cancelled.
Public method Static member AsTask<TProgress>(IAsyncActionWithProgress<TProgress>, CancellationToken, IProgress<TProgress>) Returns a task that represents a Windows Runtime asynchronous action that reports progress and can be cancelled.
Public method Static member AsTask<TResult, TProgress>(IAsyncOperationWithProgress<TResult, TProgress>) Returns a task that represents a Windows Runtime asynchronous operation returns a result.
Public method Static member AsTask<TResult, TProgress>(IAsyncOperationWithProgress<TResult, TProgress>, IProgress<TProgress>) Returns a task that represents Windows Runtime asynchronous operation that returns a result and reports progress.
Public method Static member 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.
Public method Static member 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.
Public method Static member GetAwaiter(IAsyncAction) Infrastructure. Returns an object that awaits an asynchronous action.
Public method Static member GetAwaiter<TProgress>(IAsyncActionWithProgress<TProgress>) Infrastructure. Returns an object that awaits an asynchronous action that reports progress.
Public method Static member GetAwaiter<TResult>(IAsyncOperation<TResult>) Infrastructure. Returns an object that awaits an asynchronous operation that returns a result.
Public method Static member GetAwaiter<TResult, TProgress>(IAsyncOperationWithProgress<TResult, TProgress>) Infrastructure. Returns an object that awaits an asynchronous operation that reports progress and returns a result.
Top
Show:
© 2014 Microsoft