Export (0) Print
Expand All

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.Serialization (in System.Xml.Serialization.dll)

protected void CheckReaderCount(
	ref int whileIterations,
	ref int readerCount
)

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.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft