XmlDictionaryReader.ReadElementString Method
.NET Framework 4.5
Reads the simple text-only elements.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
ReadElementString() | Reads a text-only element. (Inherited from XmlReader.) |
|
ReadElementString(String) | Checks that the Name property of the element found matches the given string before reading a text-only element. (Inherited from XmlReader.) |
|
ReadElementString(String, String) | Checks that the LocalName and NamespaceURI properties of the element found matches the given strings before reading a text-only element. (Inherited from XmlReader.) |
| Exception | Condition |
|---|---|
| InvalidOperationException |
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.” |