This topic has not yet been rated - Rate this topic

ProgressRecordType Enumeration

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Defines if an activity of a progress report is in progress or completed.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation)
'Usage
Dim instance As ProgressRecordType

public enum ProgressRecordType
public enum ProgressRecordType
public enum ProgressRecordType
Member name Description
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.


 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Did you find this helpful?
(1500 characters remaining)