The SessionWatch type exposes the following members.

Methods

  NameDescription
Public methodChangeWatchedSessions
Changes the list of users, stations, and computers to watch for user login/logout events.
Public methodChangeWatchedSessionsAsync
Asynchronously changes the list of users, stations, and computers to watch for user login/logout events.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetWatchedSessions
Gets all watched Sessions for any watched user, station or machine.
Public methodIsWatching()()()()
Determines whether a watch is active.
Public methodIsWatching(SessionWatchId)
Determines whether a watch is active and if the specified value is being watched.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStartWatching
Sets a watch for login/logout events for users, all users on a station, or all users on a computer.
Public methodStartWatchingAsync
Asynchronously sets a watch for login/logout events for users, all users on a station, or all users on a computer.
Public methodStopWatching
Stops all watches.
Public methodStopWatchingAsync
Asynchronously stops all watches.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also