Click or drag to resize

ServiceHelperAddScheduledProcess(ActionString, Object, String, Object, String) Method

Adds a new ServiceProcess to the ServiceHelper that executes on a schedule.

Namespace: GSF.ServiceProcess
Assembly: GSF.ServiceProcess (in GSF.ServiceProcess.dll) Version: 2.4.218-beta
Syntax
public bool AddScheduledProcess(
	Action<string, Object[]> processExecutionMethod,
	string processName,
	Object[] processArguments,
	string processSchedule
)
View Source

Parameters

processExecutionMethod  ActionString, Object
The Delegate to be invoked the ServiceProcess is started.
processName  String
Name of the ServiceProcess being added.
processArguments  Object
Arguments to be passed in to the processExecutionMethod during execution.
processSchedule  String
Schedule for the execution of the ServiceProcess.

Return Value

Boolean
true if the ServiceProcess does not exist already and is added and scheduled, otherwise false.
See Also