ActionBuilderOnStateChange Method

Adds a trigger that executes once at specified state change.

Definition

Namespace: Microsoft.Win32.TaskScheduler.Fluent
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public TriggerBuilder OnStateChange(
	TaskSessionStateChangeType changeType
)

Parameters

changeType  TaskSessionStateChangeType
Type of the change.

Return Value

TriggerBuilder
TriggerBuilder instance.

See Also