WebError
WebError
WebError
WebError
Class
Definition
Provides error status resulting from a web service operation.
public : static class WebErrorpublic static class WebErrorPublic Static Class WebError// You can use this class in JavaScript.
- 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) 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// You can use this method in JavaScript.
Parameters
- hresult
- int Int32 Int32 Int32
The error encountered by a web service operation represented as an hResult.
Returns
The error status value for a web service operation.
- See Also