JsonError.GetStatus(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the specific error using the returned HRESULT value. Possible values are defined by JsonErrorStatus.
public:
static JsonErrorStatus GetStatus(int hresult);
/// [Windows.Foundation.Metadata.Deprecated("GetStatus may be altered or unavailable for releases after Windows 8.1. Instead, use GetJsonStatus.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
static JsonErrorStatus GetStatus(int const& hresult);
[Windows.Foundation.Metadata.Deprecated("GetStatus may be altered or unavailable for releases after Windows 8.1. Instead, use GetJsonStatus.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))]
public static JsonErrorStatus GetStatus(int hresult);
function getStatus(hresult)
Public Shared Function GetStatus (hresult As Integer) As JsonErrorStatus
Parameters
- hresult
-
Int32
int
An HRESULT returned during the operation.
Returns
The error encountered.
- Attributes
Remarks
This method is supported only in Windows 10 version 10.0.10240. This method was removed in later versions.