JsonError JsonError JsonError JsonError Class

Definition

Represents an error encountered while parsing JSON data.

public : static class JsonError
static struct winrt::Windows::Data::Json::JsonError
public static class JsonError
Public Static Class JsonError
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)
JsonErrorStatus GetJsonStatus(int32_t hresult) const;
public static JsonErrorStatus GetJsonStatus(Int32 hresult)
Public Static Function GetJsonStatus(hresult As Int32) As JsonErrorStatus
Parameters
hresult
Int32 Int32

An HRESULT returned during the operation.

Returns

The error encountered.