ZipProblemDetectedEventArgs Class
Namespace: Rebex.IO.Compression
Assembly: Rebex.Zip.dll (version 7.0.8944)
Provides data for the ProblemDetected event.
Syntax
public class ZipProblemDetectedEventArgs : EventArgs
Inherited Members
Properties
Name | Description |
---|---|
Action | Gets or sets the currently selected next action. Specifies the operation to perform as the next step of this operation execution. |
ArchiveItemLastWriteTime | Gets the last modification date/time of the archive file that is currently processed. If the problem isn't related to a file or if this information is not available, DateTime.MinValuue is returned. |
ArchiveItemLength | Gets the length of the archive file that is currently processed. If the problem isn't related to a file or if this information is not available, -1 is returned. |
ArchiveItemPath | Gets the path of the archive file or directory that is currently processed. |
Exception | Gets the exception which will be raised if the Action property remains set to ZipAction.ThrowException. See ProblemType property description for further information. |
ExternalItemLastWriteTime | Gets the last modification date/time of the external (local) file that is currently processed. If the problem isn't related to a file or if this information is not available, DateTime.MinValuue is returned. |
ExternalItemLength | Gets the length of the external (local) file that is currently processed. If the problem isn't related to a file or if this information is not available, -1 is returned. |
ExternalItemPath | Gets the path of the external (local) file or directory that is currently processed. |
NewName | Gets or sets the new name for the currently processes file or directory. If the currently selected action is set to Rename, this property has to be set; otherwise it is ignored. |
Operation | Gets the current ZipArchive operation. |
PossibleActions | Gets a mask of possible actions that can be selected to be performed. ThrowException and Cancel can always be set. Use the binary 'AND' operator to determine whether a specific action is currently possible or simply call the IsActionPossible(ArchiveProblemActions) method. |
ProblemType | Gets a ProblemType value that further describes the problem. |
Methods
Name | Description |
---|---|
IsActionPossible(ArchiveProblemActions) | Determines whether the specified action is currently possible - use this to determine whether the Action property can be set to the desired action. |