GSF.ServiceProcess.ServiceHelper.AddScheduledProcess C# (CSharp) Method

AddScheduledProcess() public method

Adds a new ServiceProcess to the ServiceHelper that executes on a schedule.
public AddScheduledProcess ( object[]>.Action processExecutionMethod, string processName, object processArguments, string processSchedule ) : bool
processExecutionMethod object[]>.Action The to be invoked the is started.
processName string Name of the being added.
processArguments object Arguments to be passed in to the during execution.
processSchedule string for the execution of the .
return bool
        public bool AddScheduledProcess(Action<string, object[]> processExecutionMethod, string processName, object[] processArguments, string processSchedule)
        {
            if (AddProcess(processExecutionMethod, processName, processArguments))
                return ScheduleProcess(processName, processSchedule);

            return false;
        }

Same methods

ServiceHelper::AddScheduledProcess ( object[]>.Action processExecutionMethod, string processName, string processSchedule ) : bool
ServiceHelper