XmlReader.Dispose Method

Releases all resources used by the current instance of the XmlReader class.

Namespace:  System.Xml
Assembly:  System.Xml (in System.Xml.dll)

public void Dispose()

Implements

IDisposable.Dispose()

ExceptionCondition
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.”

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft