XmlReader.ReadState XmlReader.ReadState XmlReader.ReadState XmlReader.ReadState Property

定义

当在派生类中被重写时,获取读取器的状态。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

属性值

指定读取器的状态的枚举值之一。One of the enumeration values that specifies the state of the reader.

异常

在上一次异步操作完成之前调用了 XmlReader 方法。An XmlReader method was called before a previous asynchronous operation finished. 在此情况下,会引发 InvalidOperationException 并显示消息“异步操作已在进行中。”In this case, InvalidOperationException is thrown with the message "An asynchronous operation is already in progress."

注解

ReadState属性具有以下值之一:The ReadState property has one of the following values:

适用于