SessionEndingEventArgs.Reason Property

Definition

Gets the reason the session is ending.

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 specifies how the session is ending.

Applies to