SessionSwitchEventArgs(SessionSwitchReason) Konstruktor

Definition

Initierar en ny instans av SessionSwitchEventArgs klassen med den angivna sessionsändringshändelsetypen identifer.

public:
 SessionSwitchEventArgs(Microsoft::Win32::SessionSwitchReason reason);
public SessionSwitchEventArgs(Microsoft.Win32.SessionSwitchReason reason);
new Microsoft.Win32.SessionSwitchEventArgs : Microsoft.Win32.SessionSwitchReason -> Microsoft.Win32.SessionSwitchEventArgs
Public Sub New (reason As SessionSwitchReason)

Parametrar

reason
SessionSwitchReason

En SessionSwitchReason som anger typen av sessionsändringshändelse.

Gäller för

Se även