SessionSwitchEventArgs.Reason Property

Definition

Gets an identifier that indicates the type of session change event.

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

Property Value

A SessionSwitchReason indicating the type of the session change event.

Applies to

See also