XmlDocument.LoadFromUriAsync 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
LoadFromUriAsync(Uri) |
Asynchronously loads an XML document from the specified location. The document is parsed using the default parser settings. |
LoadFromUriAsync(Uri, XmlLoadSettings) |
Asynchronously loads an XML document from the specified location. The document is parsed using the provided settings. |
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);
/// [Windows.Foundation.Metadata.Overload("LoadFromUriAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<XmlDocument> LoadFromUriAsync(Uri const& uri);
[Windows.Foundation.Metadata.Overload("LoadFromUriAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<XmlDocument> LoadFromUriAsync(System.Uri uri);
function loadFromUriAsync(uri)
Public Shared Function LoadFromUriAsync (uri As Uri) As IAsyncOperation(Of XmlDocument)
Parameters
Returns
The object that must be used to start the operation.
- Attributes
See also
Applies to
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);
/// [Windows.Foundation.Metadata.Overload("LoadFromUriWithSettingsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<XmlDocument> LoadFromUriAsync(Uri const& uri, XmlLoadSettings const& loadSettings);
[Windows.Foundation.Metadata.Overload("LoadFromUriWithSettingsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<XmlDocument> LoadFromUriAsync(System.Uri uri, XmlLoadSettings loadSettings);
function loadFromUriAsync(uri, loadSettings)
Public Shared Function LoadFromUriAsync (uri As Uri, loadSettings As XmlLoadSettings) As IAsyncOperation(Of XmlDocument)
Parameters
- loadSettings
- XmlLoadSettings
Customizes parser behavior.
Returns
An object that must be used to start the operation.
- Attributes
Remarks
This operation does not start until a call is made to the IAsyncOperation::StartOperation method.