Xml.ParseAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| ParseAsync(Reader, IContentHandler) |
Runs Parse(Reader, IContentHandler) asynchronously. |
| ParseAsync(String, IContentHandler) |
Runs Parse(String, IContentHandler) asynchronously. |
| ParseAsync(Stream, Xml+Encoding, IContentHandler) |
Runs Parse(Stream, Xml+Encoding, IContentHandler) asynchronously. |
ParseAsync(Reader, IContentHandler)
Runs Parse(Reader, IContentHandler) asynchronously.
public static System.Threading.Tasks.Task ParseAsync(Java.IO.Reader? in, Org.Xml.Sax.IContentHandler? contentHandler);
static member ParseAsync : Java.IO.Reader * Org.Xml.Sax.IContentHandler -> System.Threading.Tasks.Task
Parameters
- in
- Reader
The reader that supplies the XML text.
- contentHandler
- IContentHandler
The SAX handler that receives parser events.
Returns
A task that represents the asynchronous call to Parse.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
ParseAsync(String, IContentHandler)
Runs Parse(String, IContentHandler) asynchronously.
public static System.Threading.Tasks.Task ParseAsync(string? xml, Org.Xml.Sax.IContentHandler? contentHandler);
static member ParseAsync : string * Org.Xml.Sax.IContentHandler -> System.Threading.Tasks.Task
Parameters
- xml
- String
The XML text to parse.
- contentHandler
- IContentHandler
The SAX handler that receives parser events.
Returns
A task that represents the asynchronous call to Parse.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
ParseAsync(Stream, Xml+Encoding, IContentHandler)
Runs Parse(Stream, Xml+Encoding, IContentHandler) asynchronously.
public static System.Threading.Tasks.Task ParseAsync(System.IO.Stream? in, Android.Util.Xml.Encoding? encoding, Org.Xml.Sax.IContentHandler? contentHandler);
static member ParseAsync : System.IO.Stream * Android.Util.Xml.Encoding * Org.Xml.Sax.IContentHandler -> System.Threading.Tasks.Task
Parameters
- in
- Stream
The stream that contains the XML bytes.
- encoding
- Xml.Encoding
The encoding constant used to configure the input source.
- contentHandler
- IContentHandler
The SAX handler that receives parser events.
Returns
A task that represents the asynchronous call to Parse.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.