Class PackagesOperationProgress
Represents progress data for operations on local repositories
Inherited Members
System.EventArgs.Empty
Namespace: Microsoft.PackageGraph.ObjectModel
Assembly: package-graph-microsoft-update.dll
Syntax
public class PackagesOperationProgress : EventArgs
Properties
| Improve this Doc View SourceCurrent
Number of work items processed. Reported only for operations that support percent done reporting.
Declaration
public long Current { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 | Number of work items (updates, etc.) processed so far. |
CurrentOperation
The operation that is currently executing.
Declaration
public PackagesOperationType CurrentOperation { get; set; }
Property Value
Type | Description |
---|---|
PackagesOperationType | One of the possible operations from PackagesOperationType |
Maximum
Number of work items. Reported only for operations types that support percent done reporting.
Declaration
public long Maximum { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 | Number of work items (updates, etc.) to process |
PercentDone
Percent done. Not all operation types support progress reporting.
Declaration
public double PercentDone { get; }
Property Value
Type | Description |
---|---|
System.Double | Percent done value, in the [0,100] range. |