SessionSwitchEventArgs Constructor (SessionSwitchReason)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the SessionSwitchEventArgs class using the specified session change event type identifer.

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

public SessionSwitchEventArgs(
	SessionSwitchReason reason
)

Parameters

reason
Type: Microsoft.Win32.SessionSwitchReason

A SessionSwitchReason that indicates the type of session change event.

.NET Framework
Available since 2.0
Return to top
Show: