XmlDictionaryReaderQuotas.MaxBytesPerRead Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the maximum allowed bytes returned for each read.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
Property Value
Type: System.Int32The maximum allowed bytes returned for each read. The default is 4096.
| 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: