To demonstrate how to set the Progress and Progress Message properties by using the API, this guide includes steps to create a sample application in C# that communicates job progress.
The sample application is called ProgressSample.exe. ProgressSample.exe includes a loop that performs some work (sleeps) and updates the progress properties of the job at each iteration. The application accepts two optional arguments that override the default values for the number of iterations to perform and for the number of milliseconds to sleep.
Checklist: Create a sample application that sets job progress information
Create and build a C# application in Visual Studio that sets job progress information.
Submit a job that runs the application by using HPC Job Manager, HPC PowerShell, or a Command Prompt window.