XmlDocument.LoadFromUriAsync XmlDocument.LoadFromUriAsync XmlDocument.LoadFromUriAsync XmlDocument.LoadFromUriAsync XmlDocument.LoadFromUriAsync Method

Definition

Overloads

LoadFromUriAsync(Uri) LoadFromUriAsync(Uri) LoadFromUriAsync(Uri) LoadFromUriAsync(Uri) LoadFromUriAsync(Uri)

Asynchronously loads an XML document from the specified location. The document is parsed using the default parser settings.

LoadFromUriAsync(Uri, XmlLoadSettings) LoadFromUriAsync(Uri, XmlLoadSettings) LoadFromUriAsync(Uri, XmlLoadSettings) LoadFromUriAsync(Uri, XmlLoadSettings) LoadFromUriAsync(Uri, XmlLoadSettings)

Asynchronously loads an XML document from the specified location. The document is parsed using the provided settings.

LoadFromUriAsync(Uri) LoadFromUriAsync(Uri) LoadFromUriAsync(Uri) LoadFromUriAsync(Uri) LoadFromUriAsync(Uri)

Asynchronously loads an XML document from the specified location. The document is parsed using the default parser settings.

public : static IAsyncOperation<XmlDocument> LoadFromUriAsync(Uri uri)
static IAsyncOperation<XmlDocument> LoadFromUriAsync(Uri uri) const;
public static IAsyncOperation<XmlDocument> LoadFromUriAsync(Uri uri)
Public Shared Function LoadFromUriAsync(uri As Uri) As IAsyncOperation(Of XmlDocument)
Windows.Data.Xml.Dom.XmlDocument.loadFromUriAsync(uri).done( /* Your success and error handlers */ );

Parameters

uri
Uri Uri Uri

A URL that specifies the location of the XML file.

Returns

The object that must be used to start the operation.

See also

LoadFromUriAsync(Uri, XmlLoadSettings) LoadFromUriAsync(Uri, XmlLoadSettings) LoadFromUriAsync(Uri, XmlLoadSettings) LoadFromUriAsync(Uri, XmlLoadSettings) LoadFromUriAsync(Uri, XmlLoadSettings)

Asynchronously loads an XML document from the specified location. The document is parsed using the provided settings.

public : static IAsyncOperation<XmlDocument> LoadFromUriAsync(Uri uri, XmlLoadSettings loadSettings)
static IAsyncOperation<XmlDocument> LoadFromUriAsync(Uri uri, XmlLoadSettings loadSettings) const;
public static IAsyncOperation<XmlDocument> LoadFromUriAsync(Uri uri, XmlLoadSettings loadSettings)
Public Shared Function LoadFromUriAsync(uri As Uri, loadSettings As XmlLoadSettings) As IAsyncOperation(Of XmlDocument)
Windows.Data.Xml.Dom.XmlDocument.loadFromUriAsync(uri, loadSettings).done( /* Your success and error handlers */ );

Parameters

uri
Uri Uri Uri

A URL that specifies the location of the XML file.

loadSettings
XmlLoadSettings XmlLoadSettings XmlLoadSettings

Customizes parser behavior.

Returns

An object that must be used to start the operation.

Remarks

This operation does not start until a call is made to the IAsyncOperation::StartOperation method.

See also