共用方式為


BackgroundDownloader.GetCurrentDownloadsForTransferGroupAsync 方法

定義

取得與所提供 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

包含用來識別下載群組的資訊。

傳回

目前與指定群組相關聯的下載清單。

屬性

適用於

另請參閱