JsonError JsonError JsonError JsonError Class

Definition

Represents an error encountered while parsing JSON data.

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

Methods

GetJsonStatus(Int32) GetJsonStatus(Int32) GetJsonStatus(Int32) GetJsonStatus(Int32)

Gets the specific error using the returned HRESULT value. Possible values are defined by JsonErrorStatus.

public : static JsonErrorStatus GetJsonStatus(int hresult)
public static JsonErrorStatus GetJsonStatus(Int32 hresult)
Public Static Function GetJsonStatus(hresult As Int32) As JsonErrorStatus
var jsonErrorStatus = Windows.Data.Json.JsonError.getJsonStatus(hresult);
Parameters
hresult
int Int32 Int32 Int32

An HRESULT returned during the operation.

Returns