JsonError JsonError JsonError Class

Represents an error encountered while parsing JSON data.

Syntax

Declaration

public static class JsonErrorpublic static class JsonErrorPublic Static Class JsonError

Methods summary

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

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(Int32 hresult)public static JsonErrorStatus GetJsonStatus(Int32 hresult)Public Static Function GetJsonStatus(hresult As Int32) As JsonErrorStatuspublic static JsonErrorStatus GetJsonStatus(Int32 hresult)

    Parameters

    • hresult
      System.Int32
      System.Int32
      System.Int32

      An HRESULT returned during the operation.

    Returns

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.DualApiPartitionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.StaticAttribute
Windows.Foundation.Metadata.ThreadingAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute

Details

Assembly

Windows.Data.Json.dll