Ionic Zip Library v1.9.1.6
ZipProgressEventType Enumeration
In an EventArgs type, indicates which sort of progress event is being
reported.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public enum ZipProgressEventType
Public Enumeration ZipProgressEventType
public enum class ZipProgressEventType
Members
Member | Description |
---|---|
Adding_Started |
Indicates that a Add() operation has started.
|
Adding_AfterAddEntry |
Indicates that an individual entry in the archive has been added.
|
Adding_Completed |
Indicates that a Add() operation has completed.
|
Reading_Started |
Indicates that a Read() operation has started.
|
Reading_BeforeReadEntry |
Indicates that an individual entry in the archive is about to be read.
|
Reading_AfterReadEntry |
Indicates that an individual entry in the archive has just been read.
|
Reading_Completed |
Indicates that a Read() operation has completed.
|
Reading_ArchiveBytesRead |
The given event reports the number of bytes read so far
during a Read() operation.
|
Saving_Started |
Indicates that a Save() operation has started.
|
Saving_BeforeWriteEntry |
Indicates that an individual entry in the archive is about to be written.
|
Saving_AfterWriteEntry |
Indicates that an individual entry in the archive has just been saved.
|
Saving_Completed |
Indicates that a Save() operation has completed.
|
Saving_AfterSaveTempArchive |
Indicates that the zip archive has been created in a
temporary location during a Save() operation.
|
Saving_BeforeRenameTempArchive |
Indicates that the temporary file is about to be renamed to the final archive
name during a Save() operation.
|
Saving_AfterRenameTempArchive |
Indicates that the temporary file is has just been renamed to the final archive
name during a Save() operation.
|
Saving_AfterCompileSelfExtractor |
Indicates that the self-extracting archive has been compiled
during a Save() operation.
|
Saving_EntryBytesRead |
The given event is reporting the number of source bytes that have run through the compressor so far
during a Save() operation.
|
Extracting_BeforeExtractEntry |
Indicates that an entry is about to be extracted.
|
Extracting_AfterExtractEntry |
Indicates that an entry has just been extracted.
|
Extracting_ExtractEntryWouldOverwrite |
Indicates 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.
|
Extracting_EntryBytesWritten |
The given event is reporting the number of bytes written so far for
the current entry during an Extract() operation.
|
Extracting_BeforeExtractAll |
Indicates that an ExtractAll operation is about to begin.
|
Extracting_AfterExtractAll |
Indicates that an ExtractAll operation has completed.
|
Error_Saving |
Indicates 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.
|
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.