Xceed .NET Libraries Documentation
Xceed.Zip Assembly / Xceed.Zip Namespace / ZipEventsSession Class


In This Topic
    ZipEventsSession Class
    In This Topic
    Class which derives from the Xceed.FileSystem.FileSystemEventsSession class and holds information about the session which is responsible for raising all events that occur during the process.
    Object Model
    ZipEventsSession ClassProgressionInfo ClassByteProgressionEventArgs ClassFileSystemItem ClassZipEvents ClassItemPair ClassFileSystemItem ClassProgressionInfo ClassProgressionInfo ClassProgressionInfo Class
    Syntax
    'Declaration
     
    
    Public Class ZipEventsSession 
       Inherits Xceed.FileSystem.FileSystemEventsSession
    'Usage
     
    
    Dim instance As ZipEventsSession
    public class ZipEventsSession : Xceed.FileSystem.FileSystemEventsSession 
    Inheritance Hierarchy

    System.Object
       Xceed.FileSystem.FileSystemEventsSession
          Xceed.Zip.ZipEventsSession

    Protected Constructors
     NameDescription
    Protected Internal ConstructorInitializes a new instance of the ZipEventsSession class.  
    Top
    Protected Fields
     NameDescription
    Protected Field (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Protected FieldAn instance of the ProgressionInfo class representing the byte count information in regards to all the items to be processed for the current session. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Protected FieldAn instance of the ProgressionInfo class representing the item count information for the current session. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Protected FieldAn instance of the Xceed.FileSystem.ByteProgressionEventArgs class that provides byte progression information for the current session.  
    Protected FieldAn instance of the Xceed.FileSystem.ItemProgressionEventArgs class that provides item progression information for the current session.  
    Protected FieldAn instance of the Xceed.FileSystem.ByteProgressionEventArgs class that provides byte progression information for the current session. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Protected FieldAn instance of the Xceed.FileSystem.ByteProgressionEventArgs class that provides byte progression information for the current session.  
    Protected FieldAn instance of the ProgressionInfo class representing the byte count information in regards to the current item being processed for the current session. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Protected FieldThe current Xceed.FileSystem.FileSystemItem object being processed for the current session. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Protected FieldAn instance of the Xceed.FileSystem.FileSystemEvents class representing the original Xceed.FileSystem.FileSystemEvents object from which we created the session. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Protected FieldAn instance of the Xceed.FileSystem.ByteProgressionEventArgs class that provides byte progression information for the current session.  
    Protected FieldAn instance of the Xceed.FileSystem.ItemExceptionEventArgs class that provides information on the exception that was thrown during a process for the current session. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Protected FieldRepresents a sorted collection of the items to process for the current session. Some FileSystem implementations require sorting items before processing them in order to improve performance. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Protected FieldRepresents a first-in, first-out collection of the items to process for the current session. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Protected FieldAn instance of the Xceed.FileSystem.ItemProgressionEventArgs class that provides item progression information for the current session. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Protected FieldAn instance of the Xceed.FileSystem.PathExceptionEventArgs class that provides information on the exception that was thrown during processing of a path string. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Protected Field (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Protected FieldAn instance of the Xceed.FileSystem.ItemProgressionEventArgs class that provides item progression information for the current session.  
    Protected FieldAn instance of the Xceed.FileSystem.ScanningFolderEventArgs class that provides information on the folder being scanned or accessed for the current session. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Protected FieldThe Xceed.FileSystem.FileSystemItem object on which the process was called. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Protected FieldThe current target Xceed.FileSystem.FileSystemItem object of the process for the current session. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Protected FieldThis is set at construction, and updated after each event. It is assigned to each argument structure before each event. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Protected FieldAn instance of the ProgressionInfo class representing the byte count information in regards to all the items to be processed for the current session.  
    Protected FieldAn instance of the ProgressionInfo class representing the item count information for the current session.  
    Protected FieldAn instance of the ProgressionInfo class representing the byte count information in regards to the current item being processed for the current session.  
    Protected FieldAn instance of the ZipEvents class representing the original ZipEvents object from which we created the session.  
    Top
    Public Properties
     NameDescription
    Public PropertyTODODOC (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Public PropertyGets or sets the Xceed.FileSystem.FileSystemItem object currently being processed. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Public PropertyGets the original ZipEvents object that was used to create the session.  
    Public PropertyGets a boolean value indicating if the session's list of Xceed.FileSystem.FileSystemItem objects to process contains no items. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Public PropertyTODODOC (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Public Property (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Public PropertyGets or sets the eventual target Xceed.FileSystem.FileSystemItem object for the process. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Public PropertyGets the opaque data that is sent back to the event handler when an event is raised. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Public PropertyGets the ProgressionInfo object representing the byte count information in regards to all the items to be processed for the current sesstion.  
    Public PropertyGets the ProgressionInfo object representing the item count information for the current session.  
    Public PropertyGets the ProgressionInfo object representing the byte count information in regards to the current item being processed for the current session.  
    Top
    Public Methods
     NameDescription
    Public MethodSorts the list of items to be processed using a specific comparer. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Public Method (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Public MethodOverloaded. Retrieves the next pair of Xceed.FileSystem.FileSystemItem objects to be processed. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Public MethodInitializes the total amount of bytes for the current zip item to be processed.  
    Public MethodInitializes the total amount of bytes for all zip items to be processed.  
    Public MethodInitializes the total amount of zip items to be processed.  
    Public MethodThe last BuildingZipByteProgression event raised once processing of a zip item is completed.  
    Public MethodRaises the BuildingZipByteProgression event.  
    Public MethodThe last BuildingZipItemProgression event raised once processing is completed.  
    Public MethodRaises the BuildingZipItemProgression event.  
    Public MethodOverloaded. Forces the byte progression to 100% completion. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Public MethodOverloaded. Raises the FileSystemEvents.ByteProgression event. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Public MethodRaises the last ItemProgression event when the process is completed. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Public MethodOBSOLETE : You can override OnGatheringZipContentByteCompletion to get status on the step preceding the creation of the zip file. The last CopyingZipByteProgression event raised once processing for a zip file is completed.  
    Public MethodOBSOLETE : This method should no longer be called. You can override OnGatheringZipContentByteProgression to get status on the step preceding the creation of the zip file. Raises the CopyingZipByteProgression event.  
    Public MethodRaises the DiskRequired event.  
    Public MethodOverloaded. Raises the ItemException event whenever an error occurs during the processing of a Xceed.FileSystem.FileSystemItem object. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Public MethodThe last GatheringZipContentByteProgression event raised once processing is completed.  
    Public MethodRaises the GatheringZipContentByteProgression event.  
    Public MethodOverloaded. Raises the ItemCompletion event. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Public MethodPlaces the new item in the list of Xceed.FileSystem.FileSystemItem objects to be processed. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Public MethodRaises the PathException event whenever an error occurs during the processing of a path string during construction of a FileSystem-derived object (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Public MethodOverloaded. Called when a new item is about to be processed. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Public Method (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Public MethodThe last ReadingZipItemProgression event raised once processing is completed.  
    Public MethodRaises the ReadingZipItemProgression event.  
    Public MethodRaises the Xceed.FileSystem.FileSystemEvents.ScanningFolder event. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Public MethodOverloaded. Removes the amount of bytes processed for an item if an error occurred during the processing of that item. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Top
    Protected Methods
     NameDescription
    Protected Method (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Top
    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Standard: netstandard2.0, netstandard2.1

    .NET Framework: net20, net35, net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also