BackgroundTransferError BackgroundTransferError BackgroundTransferError BackgroundTransferError BackgroundTransferError Class

Definition

Used to provide errors encountered during a transfer operation.

public : static class BackgroundTransferError
static struct winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferError
public static class BackgroundTransferError
Public Static Class BackgroundTransferError
// 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)
Capabilities
internetClientServer privateNetworkClientServer internetClient

Methods

GetStatus(Int32) GetStatus(Int32) GetStatus(Int32) GetStatus(Int32) GetStatus(Int32)

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

public : static WebErrorStatus GetStatus(int hresult)
WebErrorStatus GetStatus(int32_t hresult) const;
public static WebErrorStatus GetStatus(Int32 hresult)
Public Static Function GetStatus(hresult As Int32) As WebErrorStatus
var webErrorStatus = Windows.Networking.BackgroundTransfer.BackgroundTransferError.getStatus(hresult);
Parameters
hresult
Int32 Int32 Int32

An HRESULT returned during the operation.

Returns

See Also