SessionStateChangeTrigger(TaskSessionStateChangeType, String) Constructor
Namespace: Microsoft.Win32.TaskSchedulerAssembly: 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.