BackgroundTransferGroup BackgroundTransferGroup BackgroundTransferGroup BackgroundTransferGroup BackgroundTransferGroup Class

Definition

A named group used to associate multiple download or upload operations. This class makes it easy for your app to create these groups and to complete downloads and uploads simultaneously, in serial, or based on priority.

For example, if a user decides to download and watch episodes from a popular television series, your app can prioritize the earliest episodes in the series or let the user choose which episode to download first.

public : sealed class BackgroundTransferGroup : IBackgroundTransferGroup
struct winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup : IBackgroundTransferGroup
public sealed class BackgroundTransferGroup : IBackgroundTransferGroup
Public NotInheritable Class BackgroundTransferGroup Implements IBackgroundTransferGroup
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

A BackgroundTransferGroup object can persist to support transfer operations that span app sessions. New methods have been introduced to BackgroundDownloader, BackgroundUploader, DownloadOperation, and UploadOperation to simplify accessing groups created in a previous app session.

Note

Up to 50 unique transfer groups per app are supported.

Properties

Name Name Name Name Name

Gets the name of the group.

TransferBehavior TransferBehavior TransferBehavior TransferBehavior TransferBehavior

Gets or sets the property used to specify if transfers within this group run simultaneously or in serial. Possible values are defined by BackgroundTransferBehavior.

Methods

CreateGroup(String) CreateGroup(String) CreateGroup(String) CreateGroup(String) CreateGroup(String)

Creates a transfer group using the provided group name.