## ThrowHelper::ThrowInvalidOperationOrArgumentException(ReadOnlySpan\<char16_t\>, int32_t, int32_t) method




```cpp
static void System::Text::Json::ThrowHelper::ThrowInvalidOperationOrArgumentException(ReadOnlySpan<char16_t> propertyName, int32_t currentDepth, int32_t maxDepth)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [ThrowHelper](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.TeX for C++](../../../)
## ThrowHelper::ThrowInvalidOperationOrArgumentException(ReadOnlySpan\<uint8_t\>, int32_t, int32_t) method




```cpp
static void System::Text::Json::ThrowHelper::ThrowInvalidOperationOrArgumentException(ReadOnlySpan<uint8_t> propertyName, int32_t currentDepth, int32_t maxDepth)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [ThrowHelper](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.TeX for C++](../../../)
