XmlReader.ReadState Property

Definition

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

public:
 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.

Exceptions

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."

Remarks

The ReadState property has one of the following values:

Applies to