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.

CachedFileManager.CompleteUpdatesAsync | completeUpdatesAsync method

Applies to Windows and Windows Phone

Initiates updates for the specified file. This method contacts the app that provided the file to perform the updates.

Syntax


Windows.Storage.CachedFileManager.completeUpdatesAsync(file).done( /* Your success and error handlers */ );

Parameters

file

Type: IStorageFile

The file to update.

Return value

Type: IAsyncOperation<FileUpdateStatus>

When this method completes, it returns a FileUpdateStatus enum value that describes the status of the updates to the file.

Remarks

Using this method ensures that the updates to the file are completed which may require Windows to ask for user input.  For example, the app that provided the file may be activated to perform updates and that app may display UI through a file picker.

If you prevented updates to the specified file by calling DeferUpdates, you must call this method to initiate updates to the file.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Storage
Windows::Storage [C++]

Metadata

Windows.winmd

See also

CachedFileManager

 

 

Show:
© 2014 Microsoft