Collapse the table of content
Expand the table of content
Expand Minimize
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

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)

Dim instance As ProgressRecordType

public enum ProgressRecordType
public enum ProgressRecordType
public enum ProgressRecordType

Member nameDescription
CompletedThe progress record for the last record in the operation.
ProcessingThe 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.


Target Platforms

© 2015 Microsoft