Class CancelHelper
Utility to stop the task execution in case the Cancel is requested.
Inherited Members
Namespace: SdlSdl.ProjectAutomationAutomaticTasks
Assembly: Sdl.ProjectAutomation.AutomaticTasks.dll
Syntax
public static class CancelHelper
Methods
CancelTaskIfRequested(bool)
Notifies the task executor to stop the task execution
Declaration
public static void CancelTaskIfRequested(bool cancelRequested)
Parameters
Type | Name | Description |
---|---|---|
bool | cancelRequested |