Xceed .NET Libraries Documentation
CreateSession Method (SynchronizationEvents)


Xceed.Synchronization Assembly > Xceed.Synchronization Namespace > SynchronizationEvents Class : CreateSession Method
Creates and initializes a new SynchronizationEventsSession object from the current SynchronizationEvents instance.
Syntax
'Declaration
 
Public Overridable Function CreateSession( _
   ByVal fileSystemEvents As FileSystemEvents, _
   ByVal fileSystemEventsUserData As Object, _
   ByVal sender As Object, _
   ByVal synchronizationEventsUserData As Object _
) As SynchronizationEventsSession
'Usage
 
Dim instance As SynchronizationEvents
Dim fileSystemEvents As FileSystemEvents
Dim fileSystemEventsUserData As Object
Dim sender As Object
Dim synchronizationEventsUserData As Object
Dim value As SynchronizationEventsSession
 
value = instance.CreateSession(fileSystemEvents, fileSystemEventsUserData, sender, synchronizationEventsUserData)

Parameters

fileSystemEvents
fileSystemEventsUserData
sender
synchronizationEventsUserData

Return Value

A SynchronizationEventsSession object representing the synchronization events session created.
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

SynchronizationEvents Class
SynchronizationEvents Members