Windows apps
Collapse the table of content
Expand the table of content
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.

SessionSwitchEventArgs::Reason Property

 

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

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

public:
property SessionSwitchReason Reason {
	SessionSwitchReason get();
}

Property Value

Type: Microsoft.Win32::SessionSwitchReason

A SessionSwitchReason indicating the type of the session change event.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft