Windows Dev Center

BackgroundTransferError class

Used to provide errors encountered during a transfer operation.

Syntax


var backgroundTransferError = Windows.Networking.BackgroundTransfer.BackgroundTransferError;

Members

The BackgroundTransferError class has these types of members:

Methods

The BackgroundTransferError class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
GetStatus Gets the specific error using the returned HRESULT value. Possible values are defined by WebErrorStatus.

 

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Networking.BackgroundTransfer
Windows::Networking::BackgroundTransfer [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Capabilities

internetClient
internetClientServer
privateNetworkClientServer

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Networking.BackgroundTransfer
Windows::Networking::BackgroundTransfer [C++]

Metadata

Windows.winmd

Capabilities

internetClient
internetClientServer
privateNetworkClientServer

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]

See also

Object
Background Transfer sample

 

 

Show:
© 2015 Microsoft