Class MetadataQueryProgress
Provides progress data for a metadata query.
Inheritance
System.Object
System.EventArgs
MetadataQueryProgress
Inherited Members
System.EventArgs.Empty
Namespace: Microsoft.PackageGraph.MicrosoftUpdate.Source
Assembly: package-graph-microsoftupdate-source.dll
Syntax
public class MetadataQueryProgress : EventArgs
Properties
| Improve this Doc View SourceCurrent
Number of work items processed. Reported only for stages that support percent done reporting.
Declaration
public int Current { get; }
Property Value
Type | Description |
---|---|
System.Int32 | Number of work items (updates, etc.) processed so far. |
CurrentTask
The current stage in the query.
Declaration
public MetadataQueryStage CurrentTask { get; }
Property Value
Type | Description |
---|---|
MetadataQueryStage | One of the possible stages from MetadataQueryStage |
Maximum
Number of work items in a stage. Reported only for stages that support percent done reporting.
Declaration
public int Maximum { get; }
Property Value
Type | Description |
---|---|
System.Int32 | Number of work items (updates, etc.) to process |
PercentDone
Percent done. Not all query stages support progress reporting.
Declaration
public double PercentDone { get; }
Property Value
Type | Description |
---|---|
System.Double | Percent done value, in the [0,100] range. |