OptionalfinallyTasks to be executed at the end of the sequence, the finally tasks will be executed even if the main task fails.
OptionalpostTasks to be executed after the main task, if the main task fails, the post tasks will not be executed, but the finally tasks will be executed.
OptionalpreTasks to be executed before the main task
The main task to be executed
Represents the pattern for task execution as a sequence of tasks