SessionEndingEventArgs.Reason Property

 

Gets the reason the session is ending.

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

public SessionEndReasons Reason { get; }

Property Value

Type: Microsoft.Win32.SessionEndReasons

One of the SessionEndReasons values that specifies how the session is ending.

.NET Framework
Available since 1.1
Return to top
Show: