The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
XmlDictionaryReaderQuotas::MaxDepth Property
.NET Framework (current version)
Gets and sets the maximum nested node depth.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException | Trying to set the value and quota values are read-only for this instance. |
| ArgumentException | Trying to set the value is less than zero. |
This quota sets a limit on the nested node depth for the XML.
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Show: