Assembly: System.Management.Automation (in System.Management.Automation.dll)
|Completed||The progress record for the last record in the operation.|
|Processing||The progress record for the first record in the operation.|
It is expected that the WriteProgress method will be called at least twice: once to report the start of the operation, and once to report the conclusion of that operation. However, between those two calls, the caller might also report on the progress of the operation any number of times.
The first time that a host receives a progress record for a given activity, it will typically display a progress indicator for that activity. For each subsequent ProgressRecord object (with the same identifier) it receives, the host will update that display. Finally, when the host receives a "completed" record for that activity, it will remove the progress indicator.