Class CancelHelper
Utility to stop the task execution in case the Cancel is requested.
Inheritance
Object
CancelHelper
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Sdl.ProjectAutomation.AutomaticTasks
Assembly: Sdl.ProjectAutomation.AutomaticTasks.dll
Syntax
public static class CancelHelper
Methods
CancelTaskIfRequested(Boolean)
Notifies the task executor to stop the task execution
Declaration
public static void CancelTaskIfRequested(bool cancelRequested)
Parameters
Type | Name | Description |
---|---|---|
Boolean | cancelRequested |