'DeclarationPublic Overloads Function CreateSession( _ ByVal sender As Object, _ ByVal userData As Object _ ) As FileSystemEventsSession
'UsageDim instance As FileSystemEvents Dim sender As Object Dim userData As Object Dim value As FileSystemEventsSession value = instance.CreateSession(sender, userData)
public FileSystemEventsSession CreateSession( object sender, object userData )
Parameters
- sender
- The object from which the session is created.Opaque data that is sent back to the event handler when an event is raised.
- userData
Return Value
A reference to a FileSystemEventsSession object.