Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SessionEndedEventArgs Class

Provides data for the SessionEnded event.

For a list of all members of this type, see SessionEndedEventArgs Members.


[Visual Basic]
Public Class SessionEndedEventArgs
   Inherits EventArgs
public class SessionEndedEventArgs : EventArgs
public __gc class SessionEndedEventArgs : public EventArgs
public class SessionEndedEventArgs extends EventArgs

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


A SessionEnded event is raised when the user logs off or shuts down the system.


Namespace: Microsoft.Win32

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System (in System.dll)

See Also

SessionEndedEventArgs Members | Microsoft.Win32 Namespace | SystemEvents

© 2017 Microsoft