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

## ThrowHelper::ThrowInvalidOperationException_NodeWrongType method




```cpp
static void System::Text::Json::ThrowHelper::ThrowInvalidOperationException_NodeWrongType(const System::SharedPtr<Array<String>> &supportedTypeNames)
```

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Array](../../../system/array/)
* Class [String](../../../system/string/)
* Class [ThrowHelper](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
