Class FlowScheduledTaskAddIn
- Namespace
- Dynamicweb.EmailMarketing.Flows
- Assembly
- Dynamicweb.EmailMarketing.dll
[AddInName("Dynamicweb.EmailMarketing.Flows.FlowScheduledTaskAddIn")]
[AddInLabel("Email Marketing Flow Scheduler")]
public class FlowScheduledTaskAddIn : BaseScheduledTaskAddIn
- Inheritance
-
FlowScheduledTaskAddIn
- Inherited Members
Fields
TaskName
public const string TaskName = "Email Marketing Flow Scheduler"
Field Value
Methods
Run()
Performs the work of the scheduled task. Called once per task run, after the framework has populated the context properties and loaded the saved parameter values.
public override bool Run()
Returns
- bool
truewhen the work succeeded; otherwisefalse. The value is logged and stored as the task's last result. Exceptions that escape this method are caught by the framework, logged, and recorded as a failed run.