XmlDictionaryReaderQuotas.MaxStringContentLength Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the maximum string length returned by the reader.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
Property Value
Type: System.Int32The maximum string length returned by the reader. The default is 8192.
| Exception | Condition |
|---|---|
| InvalidOperationException | Trying to set the value, but quota values are read-only for this instance. |
| ArgumentException | Trying to set the value to less than zero. |
Show: