BackgroundDownloader.GetCurrentDownloadsForTransferGroupAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取与提供的 BackgroundTransferGroup 关联的所有下载。
public:
static IAsyncOperation<IVectorView<DownloadOperation ^> ^> ^ GetCurrentDownloadsForTransferGroupAsync(BackgroundTransferGroup ^ group);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<IVectorView<DownloadOperation>> GetCurrentDownloadsForTransferGroupAsync(BackgroundTransferGroup const& group);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IReadOnlyList<DownloadOperation>> GetCurrentDownloadsForTransferGroupAsync(BackgroundTransferGroup group);
function getCurrentDownloadsForTransferGroupAsync(group)
Public Shared Function GetCurrentDownloadsForTransferGroupAsync (group As BackgroundTransferGroup) As IAsyncOperation(Of IReadOnlyList(Of DownloadOperation))
参数
- group
- BackgroundTransferGroup
包含用于标识一组下载的信息。
返回
当前与指定组关联的下载列表。
- 属性