Important: The information in this document is obsolete and should not be used for new development.
GetProgressPercent
Retrieves the percentage of an asynchronous process that has been completed.
void GetProgressPercent (out short percentDone);
percentDone
- The percentage of the process that has been completed.
DISCUSSION
You can call theGetProgressPercent
method to determine the percentage of the process that has been completed. For example, consider the process of downloading 200 bytes of data. If you have downloaded 100 bytes, 50% has been completed.
GetProgressPercent
returns the last value set by theSetProgressPercent
method or 0 ifSetProgressPercent
has not been called since the object was initialized or reset.SEE ALSO
TheGetAmountDone
method (page 302).
TheGetAmountTotal
method (page 303).
TheSetAmountDone
method (page 308).
TheSetAmountTotal
method (page 309).
TheSetProgressPercent
method (page 311).