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.Reason Property


Gets an identifier that indicates how the session ended.

Namespace:   Microsoft.Win32
Assembly:  System (in System.dll)

public SessionEndReasons Reason { get; }

Property Value

Type: Microsoft.Win32.SessionEndReasons

One of the SessionEndReasons values that indicates how the session ended.

.NET Framework
Available since 1.1
Return to top
© 2017 Microsoft