FileUpdateStatus
FileUpdateStatus
FileUpdateStatus
FileUpdateStatus
FileUpdateStatus
Enum
Definition
Describes the status of a file update request.
public : enum class FileUpdateStatus
enum class winrt::Windows::Storage::Provider::FileUpdateStatus : int32_t
public enum FileUpdateStatus
Public Enum FileUpdateStatus
var value = Windows.Storage.Provider.FileUpdateStatus.complete;
- Attributes
Device family |
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Fields
Complete Complete Complete Complete Complete | The file update was completed successfully. |
CompleteAndRenamed CompleteAndRenamed CompleteAndRenamed CompleteAndRenamed CompleteAndRenamed | 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. |
CurrentlyUnavailable CurrentlyUnavailable CurrentlyUnavailable CurrentlyUnavailable CurrentlyUnavailable | 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 Failed Failed Failed Failed | 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. |
Incomplete Incomplete Incomplete Incomplete Incomplete | The file update was not fully completed and should be retried. |
UserInputNeeded UserInputNeeded UserInputNeeded UserInputNeeded UserInputNeeded | User input (like credentials) is needed to update 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 ).