Important: The information in this document is obsolete and should not be used for new development.
SetAmountTotal
Sets a value representing the total amount of work to be completed by an asynchronous process.
void SetAmountTotal (in long amtTotal);
amtTotal- The total amount to be done by the process.
DISCUSSION
TheSetAmountTotalmethod sets a numeric value that represents the total amount of work to be performed by the process and broadcasts the change to all attached progress receivers. The amount done, set by theSetAmountDonemethod, is specified relative to the total amount as set by theSetAmountTotalmethod.The value in the
amtTotalparameter is a numeric indication of the total amount of work to be performed. For example, consider the process of downloading 200 bytes of data. In this case, the total amount is 200.If you subclass
CyberProgressBroadcasterand override this method, your override must call its inherited method.SEE ALSO
TheGetAmountDonemethod (page 302).
TheGetAmountTotalmethod (page 303).
TheGetProgressPercentmethod (page 305).
TheSetAmountDonemethod (page 308).
TheSetProgressPercentmethod (page 311).