ActionCollectionAddTAction(TAction) Method
Adds an action to the task.
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public TAction Add<TAction>(
TAction action
)
where TAction : Action
- action TAction
- A derived Action class.
- TAction
- A type derived from Action.
TActionThe bound
Action that was added to the collection.