메소드 | 설명 | |
---|---|---|
Dispose ( ) : void | ||
ProgressCalcUnknownTimer ( float estimatedDuration, float estimatedWeight, int interval, System.Progress parent ) : System |
Represents an enhanced version of ProgressUnknown. Instead of waiting for sub-tasks to report progress, this task uses a timer to automatically report progress. As time ticks, progress gets closer to 100%, but never reaches it. Note that ProgressChanged events will fire on a different thread!
|
메소드 | 설명 | |
---|---|---|
timerCallback ( object state ) : void |
This is the Timer callback:
|
public ProgressCalcUnknownTimer ( float estimatedDuration, float estimatedWeight, int interval, System.Progress parent ) : System | ||
estimatedDuration | float | The estimated duration of this task, in seconds |
estimatedWeight | float | /// A value between 0.0 and 1.0 that determines how much weight to place on the estimatedDuration. /// For example, if estimatedDuration is 100 and estimatedWeight is .75, /// then when 100 seconds have completed, progress will be at 75%. /// /// This value cannot equal 0.0 or 1.0. /// |
interval | int | The rate at which to update the progress, in milliseconds |
parent | System.Progress | |
리턴 | System |