ContentPrefetcher.IndirectContentUri Property


Specifies the location of a well-formed XML file that contains a list of resources to be prefetched.

 static property Uri ^ IndirectContentUri { Uri ^ get(); void set(Uri ^ value); };
Uri IndirectContentUri();

void IndirectContentUri(Uri value);
public static System.Uri IndirectContentUri { get; set; }
var uri = ContentPrefetcher.indirectContentUri;
ContentPrefetcher.indirectContentUri = uri;
Public Shared Property IndirectContentUri As Uri

Property Value


A Uri for a web resource.


The specified resource will be downloaded at the beginning of a prefetch task for an app. Fetching this URL must return a well formatted XML list of additional resources to prefetch.

This resource must be of type application/xml and must adhere to the following schema:

<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="">
  <xs:element name="PrefetchUris">
        <xs:element minOccurs="1" name="uri" type="xs:anyURI" />

For example:

<?xml version="1.0" encoding="utf-8"?>

Azure Mobile Services is an option for developers wishing to host a prefetch XML file. To learn more about Azure Mobile Services, see the Microsoft Azure Mobile Apps site.

Applies to

See also