Xceed .NET Libraries Documentation
TarEventsSession Constructor


Xceed.Tar Assembly > Xceed.Tar Namespace > TarEventsSession Class : TarEventsSession Constructor
The TarEvents object from which the session is created.
The FileSystemItem on which the process was called.
The user data that is sent back to the event handler when the event is raised.
Initializes 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.
Syntax
'Declaration
 
Protected Friend Function New( _
   ByVal events As TarEvents, _
   ByVal sender As Object, _
   ByVal userData As Object, _
   ByVal options As Object _
)
'Usage
 
Dim events As TarEvents
Dim sender As Object
Dim userData As Object
Dim options As Object
 
Dim instance As New TarEventsSession(events, sender, userData, options)
protected internal TarEventsSession( 
   TarEvents events,
   object sender,
   object userData,
   object options
)

Parameters

events
The TarEvents object from which the session is created.
sender
The FileSystemItem on which the process was called.
userData
The user data that is sent back to the event handler when the event is raised.
options
Remarks
This constructor is called in the CreateSession method of the associated TarEvents object.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TarEventsSession Class
TarEventsSession Members