Click or drag to resize
Task Scheduler Managed Class Library

TriggerCreateTrigger Method

Creates the specified trigger.

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntax
C#
public static Trigger CreateTrigger(
	TaskTriggerType triggerType
)
Request Example View Source

Parameters

triggerType  TaskTriggerType
Type of the trigger to instantiate.

Return Value

Trigger
Trigger of specified type.
See Also