WebError WebError WebError WebError Class


Provides error status resulting from a web service operation.

public : static class WebError
public static class WebError
Public Static Class WebError
// This class does not provide a public constructor.
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


GetStatus(Int32) 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
var webErrorStatus = Windows.Web.WebError.getStatus(hresult);
int Int32 Int32 Int32

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


The error status value for a web service operation.

See Also

See Also