Skip to main content
WebError class

Provides error status resulting from a web service operation.

Syntax


var webError = Windows.Web.WebError;

public static class WebError

Public NotInheritable Class WebError

public ref class WebError abstract sealed 

Members

The WebError class has these types of members:

Methods

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

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

 

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Web
Windows::Web [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

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

Minimum supported client

Windows 8 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 [Windows Store apps, desktop apps]

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

Attributes

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

See also

Object
Background Transfer Download sample