SessionStateChangeTrigger(TaskSessionStateChangeType, String) Constructor

Initializes a new instance of the SessionStateChangeTrigger class.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public SessionStateChangeTrigger(
	TaskSessionStateChangeType stateChange,
	string userId = null
)

Parameters

stateChange  TaskSessionStateChangeType
The state change.
userId  String  (Optional)
The user identifier.

See Also