Xceed .NET Libraries Documentation
SynchronizationEventsSession Constructor


Xceed.Synchronization Assembly > Xceed.Synchronization Namespace > SynchronizationEventsSession Class : SynchronizationEventsSession Constructor
The SynchronizationEvents object from which we created the session.
Opaque data that is sent back to the event handler when a synchronization event is raised.
The FileSystemEvents object used to create the session.
Opaque data that is sent back to the event handler when a filesystem event is raised.
The object on which the process was called.
This method is reserved for internal use and should not be called directly from your code. Initializes a new instance of the SynchronizationEventsSession class.
Syntax
'Declaration
 
Public Function New( _

   ByVal events As SynchronizationEvents, _

   ByVal synchronizationEventsUserData As Object, _

   ByVal fileSystemEvents As FileSystemEvents, _

   ByVal fileSystemEventsUserData As Object, _

   ByVal sender As Object _

)
'Usage
 
Dim events As SynchronizationEvents

Dim synchronizationEventsUserData As Object

Dim fileSystemEvents As FileSystemEvents

Dim fileSystemEventsUserData As Object

Dim sender As Object

 

Dim instance As New SynchronizationEventsSession(events, synchronizationEventsUserData, fileSystemEvents, fileSystemEventsUserData, sender)

Parameters

events
The SynchronizationEvents object from which we created the session.
synchronizationEventsUserData
Opaque data that is sent back to the event handler when a synchronization event is raised.
fileSystemEvents
The FileSystemEvents object used to create the session.
fileSystemEventsUserData
Opaque data that is sent back to the event handler when a filesystem event is raised.
sender
The object on which the process was called.
Remarks

This constructor is called within the SynchronizationEvents.CreateSession method found in the SynchronizationEvents class.

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

SynchronizationEventsSession Class
SynchronizationEventsSession Members