Enum ZipProgressEventType
In an EventArgs type, indicates which sort of progress event is being reported.
public enum ZipProgressEventType
- Extension Methods
Fields
Adding_AfterAddEntry = 1Indicates that an individual entry in the archive has been added.
Adding_Completed = 2Indicates that a Add() operation has completed.
Adding_Started = 0Indicates that a Add() operation has started.
Error_Saving = 23Indicates that an error has occurred while saving a zip file. This generally means the file cannot be opened, because it has been removed, or because it is locked by another process. It can also mean that the file cannot be Read, because of a range lock conflict.
Extracting_AfterExtractAll = 22Indicates that an ExtractAll operation has completed.
Extracting_AfterExtractEntry = 18Indicates that an entry has just been extracted.
Extracting_BeforeExtractAll = 21Indicates that an ExtractAll operation is about to begin.
Extracting_BeforeExtractEntry = 17Indicates that an entry is about to be extracted.
Extracting_EntryBytesWritten = 20The given event is reporting the number of bytes written so far for the current entry during an Extract() operation.
Extracting_ExtractEntryWouldOverwrite = 19Indicates that extraction of an entry would overwrite an existing filesystem file. You must use ExtractExistingFileAction.InvokeExtractProgressEvent in the call to
ZipEntry.Extract()in order to receive this event.Reading_AfterReadEntry = 5Indicates that an individual entry in the archive has just been read.
Reading_ArchiveBytesRead = 7The given event reports the number of bytes read so far during a Read() operation.
Reading_BeforeReadEntry = 4Indicates that an individual entry in the archive is about to be read.
Reading_Completed = 6Indicates that a Read() operation has completed.
Reading_Started = 3Indicates that a Read() operation has started.
Saving_AfterCompileSelfExtractor = 15Indicates that the self-extracting archive has been compiled during a Save() operation.
Saving_AfterRenameTempArchive = 14Indicates that the temporary file is has just been renamed to the final archive name during a Save() operation.
Saving_AfterSaveTempArchive = 12Indicates that the zip archive has been created in a temporary location during a Save() operation.
Saving_AfterWriteEntry = 10Indicates that an individual entry in the archive has just been saved.
Saving_BeforeRenameTempArchive = 13Indicates that the temporary file is about to be renamed to the final archive name during a Save() operation.
Saving_BeforeWriteEntry = 9Indicates that an individual entry in the archive is about to be written.
Saving_Completed = 11Indicates that a Save() operation has completed.
Saving_EntryBytesRead = 16The given event is reporting the number of source bytes that have run through the compressor so far during a Save() operation.
Saving_Started = 8Indicates that a Save() operation has started.
Remarks
There are events for reading, events for saving, and events for extracting. This enumeration allows a single EventArgs type to be sued to describe one of multiple subevents. For example, a SaveProgress event is invoked before, after, and during the saving of a single entry. The value of an enum with this type, specifies which event is being triggered. The same applies to Extraction, Reading and Adding events.