BackgroundTransferError.GetStatus | getStatus method

Applies to Windows and Windows Phone

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

Syntax


var webErrorStatus = Windows.Networking.BackgroundTransfer.BackgroundTransferError.getStatus(hresult);

Parameters

hresult

Type: Number [JavaScript] | System.Int32 [.NET] | int32 [C++]

An HRESULT returned during the operation.

Return value

Type: WebErrorStatus

The error encountered.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

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

See also

BackgroundTransferError

 

 

Show:
© 2014 Microsoft