System::Text::Json::ThrowHelper::GetJsonElementWrongTypeException method

ThrowHelper::GetJsonElementWrongTypeException(JsonValueKind, JsonValueKind) method

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

See Also

ThrowHelper::GetJsonElementWrongTypeException(String, JsonValueKind) method

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

See Also