Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
Loading...
Searching...
No Matches
AxelSemrau.Chronos.Plugin.IAbortableTask Interface Reference

Implement this interface if your task does some long lasting operation which should be interruptible. More...

+ Inheritance diagram for AxelSemrau.Chronos.Plugin.IAbortableTask:
+ Collaboration diagram for AxelSemrau.Chronos.Plugin.IAbortableTask:

Properties

bool Aborted [get, set]
 Will be set if your task's "Execute" method should exit as soon as possible. Will be reset before retrying to run the schedule.
 

Additional Inherited Members

- Public Member Functions inherited from AxelSemrau.Chronos.Plugin.ITask
void PreValidate ()
 Called before the schedule construction is completed.
 
void PostValidate ()
 Called after the schedule construction is completed.
 
void Execute ()
 Do whatever you have to do with your parameters.
 
string GetTaskAction ()
 Description of the tasks's action (for hints/time table)
 

Detailed Description

Implement this interface if your task does some long lasting operation which should be interruptible.

Definition at line 195 of file TaskInterfaces.cs.

Property Documentation

◆ Aborted

bool AxelSemrau.Chronos.Plugin.IAbortableTask.Aborted
getset

Will be set if your task's "Execute" method should exit as soon as possible. Will be reset before retrying to run the schedule.

Please do not wait for termination, just set a flag.

Definition at line 205 of file TaskInterfaces.cs.

205{ get; set; }

The documentation for this interface was generated from the following file: