FRENDS⁴ Common Components : SleepTask.Sleep and SleepWithCancelTask.Sleep Tasks

Description:

Sets delay into thread that executes process. SleepWithCancelTask.Sleep is asynchronic version of Sleep Task and stops process execution if FRENDS internal CancelationToken is triggered by Process instance context menu “Terminate” is clicked. 

Parameters:

General parameters are the same as all tasks in FRENDS, but following are task specific.

Delay: (TimeSpan) Inline C# TimeSpan object picture above generates 6 second delay. Instructions in here https://msdn.microsoft.com/en-us/library/system.timespan(v=vs.110).aspx

Result value Success and Fault:


Attachments: