ArchiveProblemActions Enum
Namespace: Rebex.IO.Compression
Assembly: Rebex.Zip.dll (version 7.0.8944)
Specifies the action to resolve the current problem using the ProblemDetected event.
Syntax
[Flags]
public enum ArchiveProblemActions
Fields
Name | Description |
---|---|
Cancel | Cancel the whole operation. An exception with the ProblemType property set to the OperationCanceled is thrown. |
FollowLink | Resolve the symbolic link. |
Overwrite | Overwrite target file with the same name. |
OverwriteIfDifferentChecksum | Overwrite target file with the same name if it has a different CRC-32 checksum. |
OverwriteIfDifferentSize | Overwrite target file with the same name if it has a different size. |
OverwriteIfOlder | Overwrite target file with the same name if it is older than the source file. |
Rename | Assign a different name to the target file. NewName of the event argument must be set to the desired name. |
Retry | Retry the current operation again. |
Skip | Skip the current problematic item. |
ThrowException | Cancel the whole operation. Don't process any other files. An exception describing the problem is thrown. |