Name

SessionEndReasons

Synopsis

This enumeration specifies information for the Reason property of the SessionEndingEventArgs and SessionEndedEventArgs event arguments. It specifies whether the user who started the current application is logging off (Logoff) (in which case the system may continue to run) or whether the operating system is shutting down (SystemShutdown).

Public Enum SessionEndReasons
                  Logoff = 1
                  SystemShutdown = 2
End Enum

Hierarchy

System.ObjectSystem.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) SessionEndReasons

Returned By

SessionEndedEventArgs.Reason, SessionEndingEventArgs.Reason

Passed To

SessionEndedEventArgs.SessionEndedEventArgs(), SessionEndingEventArgs.SessionEndingEventArgs()

Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.