Reset Method  
 

Reset the internal state of the control.

Syntax

object.Reset

Parameters

None.

Return Value

None.

Remarks

The Reset method resets the internal state of the control. Property values are initialized to their internal defaults, open network connections will be closed and any handles allocated by the control will be released.

The Reset and Uninitialize methods will abort all active background transfers and wait for those tasks to complete before returning to the caller. It is recommended that your application explicitly wait for background transfers to complete or abort them using this method before allowing the program to terminate. This will ensure that your program can perform any necessary cleanup operations. If there are active background tasks running at the time that the control instance is destroyed, it can force the control to stop those worker threads immediately without waiting for them to terminate gracefully.

See Also

Cancel Method, Initialize Method, Uninitialize Method