Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

LiveConnectClient.BackgroundDownloadAsync(String, Uri) method

Begins downloading a file from Microsoft OneDrive to a Windows Phone isolated storage. [Windows Phone only]

The file download should continue even if the app that starts the file download quits or is suspended.

Note  Windows Store apps do not support this method.

Syntax


public BackgroundDownloadAsync(
  string path, 
  Uri downloadLocation
)

Parameters

path

Type: System.String

The file ID of the file to download from OneDrive, for example "file.22688711f5410e6c.22688711F5410E6C!942".

downloadLocation

Type: System.Uri

A unique isolated storage path to where the file is to be downloaded, for example "/shared/transfers/myFile1.txt".

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Microsoft.Live

Assembly

Microsoft.Live.dll

See also

LiveConnectClient
LiveConnectClient

 

 

Show:
© 2017 Microsoft