US$0.00
0

TaskLaunch & TaskRun – Execution Flow

🔒 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 CheckForCancellationOrResumption method.

    • Custom Exception Handling : Discover the benefit of creating specific exception classes like TaskFailedException and TaskCanceledException.

    • Progress Tracking : See how to use SetProgressRange and SetProgressPos to update the visual progress bar in the PDM Task List

Existing Student?

OR

If you're a premium user with access to technical support, please address all of your questions via our dedicated help channel on Slack.

Leave a Comment

0
    0
    Your Cart
    Your cart is emptyReturn to Shop