Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ProgressRecordType Enumeration

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Specifies whether an activity of a progress report is in progress or completed.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

public enum class ProgressRecordType

Member nameDescription
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.

Return to top

Community Additions

Show:
© 2016 Microsoft