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

## ThrowHelper::ThrowInvalidOperationException_NamingPolicyReturnNull method




```cpp
static void System::Text::Json::ThrowHelper::ThrowInvalidOperationException_NamingPolicyReturnNull(System::SharedPtr<JsonNamingPolicy> namingPolicy)
```

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [JsonNamingPolicy](../../jsonnamingpolicy/)
* Class [ThrowHelper](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
