TaskDefinitionAddition(TaskDefinition, Trigger) Operator
Implements the operator + for triggers on a definition, effectively adding the trigger to the definition.
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public static TaskDefinition operator +(
TaskDefinition definition,
Trigger trigger
)
- definition TaskDefinition
- The definition to which the trigger is to be added.
- trigger Trigger
- The trigger to add.
TaskDefinitionThe definition with the added trigger.