Web​Error Web​Error Web​Error Class

Definition

Provides error status resulting from a web service operation.

public : static class WebErrorpublic static class WebErrorPublic Static Class WebError
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Methods

GetStatus(Int32) GetStatus(Int32) GetStatus(Int32)

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

public : static WebErrorStatus GetStatus(int hresult)public static WebErrorStatus GetStatus(Int32 hresult)Public Static Function GetStatus(hresult As Int32) As WebErrorStatus
Parameters
hresult
int Int32 Int32

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

Returns

The error status value for a web service operation.

Attributes
See Also

See Also