FileOperationErrorCode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public enum FileOperationErrorCode
type FileOperationErrorCode =
- Inheritance
-
FileOperationErrorCode
Fields
| Name | Value | Description |
|---|---|---|
| None | -1 | Successful operation. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Unknown | 0 | An unknown error. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Busy | 1 | The system is too busy to handle the request. This error is transient. Applications should consider retrying the operation after a short delay, potentially using an exponential backoff strategy. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| InvalidRequest | 2 | The system cannot fulfill the request as configured. This error is permanent as it indicates a malformed or invalid request. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| UnsupportedSource | 3 | The source of the operation is unsupported or invalid. This error is permanent as it indicates an issue with the request. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| UnsupportedTarget | 4 | The target of the operation is unsupported or invalid. This error is permanent as it indicates an issue with the request. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| PermissionDenied | 5 | The operation failed due to missing permissions. This error is permanent unless the user manually grants the required permissions. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| DiskFull | 6 | The operation failed because the disk is full. This error is potentially transient if the user clears enough space on the storage device. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |