I​Background​Transfer​Operation I​Background​Transfer​Operation I​Background​Transfer​Operation I​Background​Transfer​Operation Interface

Definition

Represents a background transfer operation.

public : interface IBackgroundTransferOperationpublic interface IBackgroundTransferOperationPublic Interface IBackgroundTransferOperation// You can use this interface in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

CostPolicy CostPolicy CostPolicy CostPolicy

Gets and sets the cost policy for the background transfer.

public : BackgroundTransferCostPolicy CostPolicy { get; set; }public BackgroundTransferCostPolicy CostPolicy { get; set; }Public ReadWrite Property CostPolicy As BackgroundTransferCostPolicy// You can use this property in JavaScript.
Value
BackgroundTransferCostPolicy BackgroundTransferCostPolicy BackgroundTransferCostPolicy BackgroundTransferCostPolicy

Specifies whether the transfer can happen over costed networks.

Group Group Group Group

Note

Group may be altered or unavailable for releases after Windows 8.1. Instead, use the relevant DownloadOperation or UploadOperation TransferGroup.

Gets a string value indicating the group the transfer belongs to.

public : PlatForm::String Group { get; }public string Group { get; }Public ReadOnly Property Group As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The group name.

Guid Guid Guid Guid

Gets the Guid for the background transfer operation.

public : PlatForm::Guid Guid { get; }public Guid Guid { get; }Public ReadOnly Property Guid As Guid// You can use this property in JavaScript.
Value
PlatForm::Guid Guid Guid Guid

The unique ID for the background transfer operation.

Method Method Method Method

Specifies the method to use for the background transfer operation.

public : PlatForm::String Method { get; }public string Method { get; }Public ReadOnly Property Method As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The method to use. This value can be GET, PUT, RETR, or STOR.

RequestedUri RequestedUri RequestedUri RequestedUri

Gets the URI for the background transfer.

public : Uri RequestedUri { get; }public Uri RequestedUri { get; }Public ReadOnly Property RequestedUri As Uri// You can use this property in JavaScript.
Value
Uri Uri Uri Uri

The URI.

Methods

GetResponseInformation() GetResponseInformation() GetResponseInformation() GetResponseInformation()

Gets the response infomation.

public : ResponseInformation GetResponseInformation()public ResponseInformation GetResponseInformation()Public Function GetResponseInformation() As ResponseInformation// You can use this method in JavaScript.
Returns

Contains the data returned by a server response.

GetResultStreamAt(UInt64) GetResultStreamAt(UInt64) GetResultStreamAt(UInt64) GetResultStreamAt(UInt64)

Gets the partial response at the specified position.

public : IInputStream GetResultStreamAt(unsigned __int64 position)public IInputStream GetResultStreamAt(UInt64 position)Public Function GetResultStreamAt(position As UInt64) As IInputStream// You can use this method in JavaScript.
Parameters
position
unsigned __int64 UInt64 UInt64 UInt64

The position at which to start reading.

Returns