GetJsonElementWrongTypeException()

ThrowHelper::GetJsonElementWrongTypeException(JsonValueKind, JsonValueKind) method

static InvalidOperationException System::Text::Json::ThrowHelper::GetJsonElementWrongTypeException(JsonValueKind expectedType, JsonValueKind actualType)

ThrowHelper::GetJsonElementWrongTypeException(String, JsonValueKind) method

static InvalidOperationException System::Text::Json::ThrowHelper::GetJsonElementWrongTypeException(String expectedTypeName, JsonValueKind actualType)

See Also