Delen via


BackgroundTransferError.GetStatus(Int32) Method

Definition

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

public:
 static WebErrorStatus GetStatus(int hresult);
 static WebErrorStatus GetStatus(int const& hresult);
public static WebErrorStatus GetStatus(int hresult);
function getStatus(hresult)
Public Shared Function GetStatus (hresult As Integer) As WebErrorStatus

Parameters

hresult
Int32

int

An HRESULT returned during the operation.

Returns

The error encountered.

Applies to