FileUpdateStatus Enum

Definition

Describes the status of a file update request.

public enum class FileUpdateStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class FileUpdateStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum FileUpdateStatus
var value = Windows.Storage.Provider.FileUpdateStatus.incomplete
Public Enum FileUpdateStatus
Inheritance
FileUpdateStatus
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Incomplete 0

The file update was not fully completed and should be retried.

Complete 1

The file update was completed successfully.

UserInputNeeded 2

User input (like credentials) is needed to update the file.

CurrentlyUnavailable 3

The remote version of the file was not updated because the storage location wasn't available. The file remains valid and subsequent updates to the file may succeed.

Failed 4

The file is now invalid and can't be updated now or in the future. For example, this could occur if the remote version of the file was deleted.

CompleteAndRenamed 5

The file update was completed successfully and the file has been renamed. For example, this could occur if the user chose to save their changes under a different file name because of conflicting changes made to the remote version of the file.

Remarks

If your app participates in the Cached File Updater contract, you use this enumeration to communicate the status of a file update request to another app that initiated the update (for example, by calling CachedFileManager.CompleteUpdatesAsync).

Applies to