XmlReader.ReadState Property


When overridden in a derived class, gets the state of the reader.

 abstract property System::Xml::ReadState ReadState { System::Xml::ReadState get(); };
public abstract System.Xml.ReadState ReadState { get; }
member this.ReadState : System.Xml.ReadState
Public MustOverride ReadOnly Property ReadState As ReadState

Property Value

One of the enumeration values that specifies the state of the reader.


An XmlReader method was called before a previous asynchronous operation finished. In this case, InvalidOperationException is thrown with the message "An asynchronous operation is already in progress."


The ReadState property has one of the following values:

Applies to