|
ServiceHelperAddProcess(ActionString, Object, String, Object) Method
|
Namespace: GSF.ServiceProcessAssembly: GSF.ServiceProcess (in GSF.ServiceProcess.dll) Version: 2.4.248-beta
Syntaxpublic bool AddProcess(
Action<string, Object[]> processExecutionMethod,
string processName,
Object[] processArguments
)
Public Function AddProcess (
processExecutionMethod As Action(Of String, Object()),
processName As String,
processArguments As Object()
) As Boolean
public:
bool AddProcess(
Action<String^, array<Object^>^>^ processExecutionMethod,
String^ processName,
array<Object^>^ processArguments
)
member AddProcess :
processExecutionMethod : Action<string, Object[]> *
processName : string *
processArguments : Object[] -> bool
function AddProcess(processExecutionMethod, processName, processArguments);
View SourceParameters
- 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
Booleantrue if the
ServiceProcess does not already exist and is added, otherwise false.
See Also