<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Runtime.WindowsRuntime</name>
</assembly>
<members>
<member name="T:System.WindowsRuntimeSystemExtensions">
<summary>Provides extension methods for converting between tasks and Windows Runtime asynchronous actions and operations. </summary>
</member>
<member name="M:System.WindowsRuntimeSystemExtensions.AsAsyncAction(System.Threading.Tasks.Task)">
<summary>Returns a Windows Runtime asynchronous action that represents a started task. </summary>
<returns>A Windows.Foundation.IAsyncAction instance that represents the started task. </returns>
<param name="source">The started task. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> is null. </exception>
<exception cref="T:System.InvalidOperationException">
<paramref name="source" /> is an unstarted task. </exception>
</member>
<member name="M:System.WindowsRuntimeSystemExtensions.AsAsyncOperation``1(System.Threading.Tasks.Task{``0})">
<summary>Returns a Windows Runtime asynchronous operation that represents a started task that returns a result. </summary>
<returns>A Windows.Foundation.IAsyncOperation<TResult> instance that represents the started task. </returns>
<param name="source">The started task. </param>
<typeparam name="TResult">The type that returns the result. </typeparam>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> is null. </exception>
<exception cref="T:System.InvalidOperationException">
<paramref name="source" /> is an unstarted task. </exception>
</member>
<member name="M:System.WindowsRuntimeSystemExtensions.AsTask(Windows.Foundation.IAsyncAction)">
<summary>Returns a task that represents a Windows Runtime asynchronous action. </summary>
<returns>A task that represents the asynchronous action. </returns>
<param name="source">The asynchronous action. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> is null. </exception>
</member>
<member name="M:System.WindowsRuntimeSystemExtensions.AsTask(Windows.Foundation.IAsyncAction,System.Threading.CancellationToken)">
<summary>Returns a task that represents a Windows Runtime asynchronous action that can be cancelled. </summary>
<returns>A task that represents the asynchronous action. </returns>
<param name="source">The asynchronous action. </param>
<param name="cancellationToken">A token that can be used to request cancellation of the asynchronous action. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> is null. </exception>
</member>
<member name="M:System.WindowsRuntimeSystemExtensions.AsTask``1(Windows.Foundation.IAsyncActionWithProgress{``0})">
<summary>Returns a task that represents a Windows Runtime asynchronous action. </summary>
<returns>A task that represents the asynchronous action. </returns>
<param name="source">The asynchronous action. </param>
<typeparam name="TProgress">The type of object that provides data that indicates progress. </typeparam>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> is null. </exception>
</member>
<member name="M:System.WindowsRuntimeSystemExtensions.AsTask``1(Windows.Foundation.IAsyncActionWithProgress{``0},System.IProgress{``0})">
<summary>Returns a task that represents a Windows Runtime asynchronous action that reports progress. </summary>
<returns>A task that represents the asynchronous action. </returns>
<param name="source">The asynchronous action. </param>
<param name="progress">An object that receives progress updates. </param>
<typeparam name="TProgress">The type of object that provides data that indicates progress. </typeparam>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> is null. </exception>
</member>
<member name="M:System.WindowsRuntimeSystemExtensions.AsTask``1(Windows.Foundation.IAsyncActionWithProgress{``0},System.Threading.CancellationToken)">
<summary>Returns a task that represents a Windows Runtime asynchronous action that can be cancelled. </summary>
<returns>A task that represents the asynchronous action. </returns>
<param name="source">The asynchronous action. </param>
<param name="cancellationToken">A token that can be used to request cancellation of the asynchronous action. </param>
<typeparam name="TProgress">The type of object that provides data that indicates progress. </typeparam>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> is null. </exception>
</member>
<member name="M:System.WindowsRuntimeSystemExtensions.AsTask``1(Windows.Foundation.IAsyncActionWithProgress{``0},System.Threading.CancellationToken,System.IProgress{``0})">
<summary>Returns a task that represents a Windows Runtime asynchronous action that reports progress and can be cancelled.</summary>
<returns>A task that represents the asynchronous action. </returns>
<param name="source">The asynchronous action. </param>
<param name="cancellationToken">A token that can be used to request cancellation of the asynchronous action. </param>
<param name="progress">An object that receives progress updates. </param>
<typeparam name="TProgress">The type of object that provides data that indicates progress. </typeparam>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> is null. </exception>
</member>
<member name="M:System.WindowsRuntimeSystemExtensions.AsTask``1(Windows.Foundation.IAsyncOperation{``0})">
<summary>Returns a task that represents a Windows Runtime asynchronous operation returns a result. </summary>
<returns>A task that represents the asynchronous operation. </returns>
<param name="source">The asynchronous operation. </param>
<typeparam name="TResult">The type of object that returns the result of the asynchronous operation. </typeparam>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> is null. </exception>
</member>
<member name="M:System.WindowsRuntimeSystemExtensions.AsTask``1(Windows.Foundation.IAsyncOperation{``0},System.Threading.CancellationToken)">
<summary>Returns a task that represents a Windows Runtime asynchronous operation that returns a result and can be cancelled. </summary>
<returns>A task that represents the asynchronous operation. </returns>
<param name="source">The asynchronous operation. </param>
<param name="cancellationToken">A token that can be used to request cancellation of the asynchronous operation. </param>
<typeparam name="TResult">The type of object that returns the result of the asynchronous operation. </typeparam>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> is null. </exception>
</member>
<member name="M:System.WindowsRuntimeSystemExtensions.AsTask``2(Windows.Foundation.IAsyncOperationWithProgress{``0,``1})">
<summary>Returns a task that represents a Windows Runtime asynchronous operation returns a result. </summary>
<returns>A task that represents the asynchronous operation. </returns>
<param name="source">The asynchronous operation. </param>
<typeparam name="TResult">The type of object that returns the result of the asynchronous operation. </typeparam>
<typeparam name="TProgress">The type of object that provides data that indicates progress. </typeparam>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" />
评论4