🔒 You're viewing limited content
In this pre-final lesson, we implement the Task Run hook, which executes the core logic of your add-in. You will learn how to handle task instances, manage distributed execution states (suspend, resume, and cancel), and implement a robust error-handling system using custom exceptions to communicate status back to the PDM Administration tool.
Key Takeaways:
-
- Handling Task Status & Distributed States : Learn how to implement a
CheckForCancellationOrResumptionmethod.
- Handling Task Status & Distributed States : Learn how to implement a
-
- Custom Exception Handling : Discover the benefit of creating specific exception classes like
TaskFailedExceptionandTaskCanceledException.
- Custom Exception Handling : Discover the benefit of creating specific exception classes like
-
- Progress Tracking : See how to use
SetProgressRangeandSetProgressPosto update the visual progress bar in the PDM Task List
- Progress Tracking : See how to use