Specifies the action to resolve the current problem using the ProblemDetected event.
Namespace:
Rebex.IO.Compression
Assembly:
Rebex.Zip (in Rebex.Zip.dll)
Syntax
| Visual Basic |
|---|
<FlagsAttribute> _ Public Enumeration ArchiveProblemActions |
| C# |
|---|
[FlagsAttribute] public enum ArchiveProblemActions |
Members
| Member name | Description | |
|---|---|---|
| Skip |
Skip the current problematic item.
| |
| Overwrite |
Overwrite target file with the same name.
| |
| OverwriteIfOlder |
Overwrite target file with the same name if it is older than the source file.
| |
| OverwriteIfDifferentSize |
Overwrite target file with the same name if it has a different size.
| |
| OverwriteIfDifferentChecksum |
Overwrite target file with the same name if it has a different CRC-32 checksum.
| |
| 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.
| |
| FollowLink |
Resolve the symbolic link.
| |
| Cancel |
Cancel the whole operation. An exception with the ProblemType property
set to the OperationCanceled is thrown.
| |
| ThrowException |
Cancel the whole operation. Don't process any other files. An exception describing the problem is thrown.
|