WebError class

Applies to Windows and Windows Phone

Provides error status resulting from a web service operation.

Syntax


var webError = Windows.Web.WebError;

Attributes

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

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

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

See also

Background Transfer Download sample

 

 

Show:
© 2014 Microsoft