Udostępnij za pośrednictwem


CachedFileManager.DeferUpdates(IStorageFile) Method

Definition

Lets apps defer real-time updates for a specified file.

public:
 static void DeferUpdates(IStorageFile ^ file);
 static void DeferUpdates(IStorageFile const& file);
public static void DeferUpdates(IStorageFile file);
function deferUpdates(file)
Public Shared Sub DeferUpdates (file As IStorageFile)

Parameters

file
IStorageFile

The file to defer updates for.

Remarks

Typically, Windows implicitly initiates updates for files that are provided by other apps when those files change.  However, you can control when updates are initiated by calling DeferUpdates.

Applies to