Class CancelHelper
Utility to stop the task execution in case the Cancel is requested.
Inheritance
System.Object
CancelHelper
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.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 |
---|---|---|
System.Boolean | cancelRequested |