XmlDictionaryReaderQuotas Constructor ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates a new instance of this class.

Namespace:   System.Xml
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

new : unit -> XmlDictionaryReaderQuotas

This constructor initializes the properties to "secure" defaults:

MaxDepth = 32;

MaxStringContentLength = 8192;

MaxArrayLength = 16384;

MaxBytesPerRead = 4096;

MaxNameTableCharCount = 16384.

Universal Windows Platform
Available since 10
.NET Framework
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top