---
title: "System::Text::Json::ThrowHelper::ThrowUnexpectedMetadataException method"
url: "https://reference.aspose.com/pdf/cpp/system.text.json/throwhelper/throwunexpectedmetadataexception/"
product: "Aspose.PDF for C++ API Reference"
description: "How to use ThrowUnexpectedMetadataException method of System::Text::Json::ThrowHelper class in C++."
---

## ThrowHelper::ThrowUnexpectedMetadataException method




```cpp
static void System::Text::Json::ThrowHelper::ThrowUnexpectedMetadataException(ReadOnlySpan<uint8_t> propertyName, Utf8JsonReader &reader, ReadStack &state)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [Utf8JsonReader](../../utf8jsonreader/)
* Class [ReadStack](../../readstack/)
* Class [ThrowHelper](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
