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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft