ActionCollectionAddTAction(TAction) Method

Adds an action to the task.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public TAction Add<TAction>(
	TAction action
)
where TAction : Action

Parameters

action  TAction
A derived Action class.

Type Parameters

TAction
A type derived from Action.

Return Value

TAction
The bound Action that was added to the collection.

See Also