XmlSerializationReader::CheckReaderCount Method (Int32%, Int32%)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Checks whether the deserializer has advanced.
Assembly: System.Xml (in System.Xml.dll)
Parameters
- whileIterations
-
Type:
System::Int32%
The current count in a while loop.
- readerCount
-
Type:
System::Int32%
The current ReaderCount.
| Exception | Condition |
|---|---|
| InvalidOperationException | The ReaderCount has not advanced. |
The method is used by generated classes and should not be directly invoked.
The CheckReaderCount method is used when the checkDeserializerAdvances attribute of the <xmlSerializer> configuration element is set to true. For more information, see <xmlSerializer> Element.
.NET Framework
Available since 2.0
Silverlight
Available since 2.0
Available since 2.0
Silverlight
Available since 2.0
Show: