Click or drag to resize

ServiceHelperAddProcess(ActionString, Object, String, Object) Method

Adds a new ServiceProcess to the ServiceHelper.

Namespace: GSF.ServiceProcess
Assembly: GSF.ServiceProcess (in GSF.ServiceProcess.dll) Version: 2.4.218-beta
Syntax
public bool AddProcess(
	Action<string, Object[]> processExecutionMethod,
	string processName,
	Object[] processArguments
)
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.

Return Value

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