Information
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.

System.Object
   System.EventArgs
      Microsoft.Win32.SessionEndedEventArgs

[Visual Basic]
Public Class SessionEndedEventArgs
   Inherits EventArgs
[C#]
public class SessionEndedEventArgs : EventArgs
[C++]
public __gc class SessionEndedEventArgs : public EventArgs
[JScript]
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.

Remarks

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

Requirements

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft