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 nameDescription
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.

Version Information

.NET Framework

Supported in: 4.8, 4.7.x, 4.6.x, 4.5.x, 4.0, 3.5 SP1

.NET Standard 2.0

Supported in: .NET Core 3.1, 3.0, 2.1; Xamarin.Android 9.1 (or higher); Xamarin.iOS 10.3 (or higher)

See Also