Click or drag to resize
Task Scheduler Managed Class Library

ActionCollectionAddTAction Method (TAction)

Adds an action to the task.

Namespace:  Microsoft.Win32.TaskScheduler
Assembly:  Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntax
public TAction Add<TAction>(
	TAction action
)
where TAction : Action
Request Example View Source

Parameters

action
Type: TAction
A derived Action class.

Type Parameters

TAction
A type derived from Action.

Return Value

Type: TAction
The bound Action that was added to the collection.
See Also