Dela via


IBackgroundTransferOperationPriority Interface

Definition

Use this interface to determine the priority of a downloads or uploads within a BackgroundTransferGroup. Possible values are defined by the BackgroundTransferPriority enumeration.

public interface class IBackgroundTransferOperationPriority
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(75842343, 21076, 19258, 145, 94, 10, 164, 146, 117, 192, 249)]
struct IBackgroundTransferOperationPriority
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(75842343, 21076, 19258, 145, 94, 10, 164, 146, 117, 192, 249)]
public interface IBackgroundTransferOperationPriority
Public Interface IBackgroundTransferOperationPriority
Derived
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

Priority

Gets or sets the priority of a download or upload operation. Possible values are defined by the BackgroundTransferPriority enumeration.

For example, setting high priority ensures that the operation doesn't get placed at the very end of the queue, instead placed near the front.

Applies to

See also