Enum FileOperationsService.VerifiedCopyStatus
Defines the status outcomes for the VerifyAndResumeFileCopyAsync method.
Namespace: Coree.NETStandard.Services.FileOperationsManagement
Assembly: Coree.NETStandard.dll
Syntax
public enum FileOperationsService.VerifiedCopyStatus
Remarks
This enumeration provides detailed status outcomes that describe various scenarios encountered during the file verification and copying process.
// Example of checking the result of a file copy operation
VerifiedCopyStatus status = await VerifyAndResumeFileCopyAsync(sourcePath, destinationPath);
if (status == VerifiedCopyStatus.Success)
{
Console.WriteLine("File copy succeeded.");
}
else
{
Console.WriteLine($"File copy failed with status: {status}");
}
Fields
| Name | Description |
|---|---|
| Cancelled | Indicates that the file copy operation was cancelled by the user. |
| Error | Indicates that a general error occurred that prevented the file copy from starting or completing. |
| ErrorDuringCopy | Indicates that an error occurred during the copying process, but not related to starting or completing the copy. |
| NoMetaData | Indicates that the file was copied, but metadata associated with the file could not be copied. |
| Success | Indicates that the file has been successfully verified and copied. |