Xceed .NET Libraries Documentation
Xceed.Tar Assembly / Xceed.Tar Namespace / TarEventsSession Class


In This Topic
    TarEventsSession Class
    In This Topic
    Class that holds information a bout the TAR session, which is responsible for raising all events that occur during the process.
    Object Model
    TarEventsSession ClassProgressionInfo ClassByteProgressionEventArgs ClassFileSystemItem ClassTarEvents ClassItemPair ClassProgressionInfo ClassProgressionInfo ClassProgressionInfo ClassFileSystemItem Class
    Syntax
    'Declaration
     
    
    Public Class TarEventsSession 
       Inherits Xceed.FileSystem.FileSystemEventsSession
    'Usage
     
    
    Dim instance As TarEventsSession
    public class TarEventsSession : Xceed.FileSystem.FileSystemEventsSession 
    Inheritance Hierarchy

    System.Object
       Xceed.FileSystem.FileSystemEventsSession
          Xceed.Tar.TarEventsSession

    Protected Constructors
     NameDescription
    Protected Internal ConstructorInitializes a new instance of the TarEventsSession class specifying the TarEvents object from which the session is created, the FileSystemItem object on which the process was called, and the user data that is sent back to the event handler.  
    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. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    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.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.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)
    Top
    Public Properties
     NameDescription
    Public Property TODODOC (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 TarEvents 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 Property TODODOC (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Public Property (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.  
    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)
    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 item to be processed.  
    Public MethodInitializes the total amount of bytes for all items to be processed.  
    Public MethodInitializes the total amount of items to be processed.  
    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 MethodOverloaded. Raises the ItemException event whenever an error occurs during the processing of a Xceed.FileSystem.FileSystemItem object. (Inherited from Xceed.FileSystem.FileSystemEventsSession)
    Public MethodOverloaded. Raises the FileSystemEvents.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 MethodRaises the ReadingTarItemProgression event specifying the item currently being procressed.  
    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