Export (0) Print
Expand All
Expand Minimize

XmlSerializationReader.CheckReaderCount Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Checks whether the deserializer has advanced.

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

member CheckReaderCount : 
        whileIterations:int byref * 
        readerCount:int byref -> unit

Parameters

whileIterations
Type: System.Int32

The current count in a while loop.

readerCount
Type: System.Int32

The current ReaderCount.

ExceptionCondition
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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft