Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WebError.GetStatus | getStatus method

Applies to Windows and Windows Phone

Gets a WebErrorStatus value based on an error encountered by a web service operation.

Syntax


var webErrorStatus = Windows.Web.WebError.getStatus(hresult);

Parameters

hresult

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

The error encountered by a web service operation represented as an hResult.

Return value

Type: WebErrorStatus

The error status value for a web service operation.

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.Web
Windows::Web [C++]

Metadata

Windows.winmd

See also

WebError
Background Transfer Download sample

 

 

Show:
© 2014 Microsoft