SessionEndedEventArgs.Reason Property

Definition

Gets an identifier that indicates how the session ended.

public:
 property Microsoft::Win32::SessionEndReasons Reason { Microsoft::Win32::SessionEndReasons get(); };
public Microsoft.Win32.SessionEndReasons Reason { get; }
member this.Reason : Microsoft.Win32.SessionEndReasons
Public ReadOnly Property Reason As SessionEndReasons

Property Value

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

Applies to

See also