PendingRequests Property
The number of requests awaiting completion.
Syntax
public int getPendingRequests(); public void setPendingRequests(int pendingRequests);
Remarks
This property serves two functions: it shows the number of requests that are pending completion, but it can also be used to adjust the size of the queue by dumping part of or all the pending requests.
To cancel all the pending requests at any moment, simply set PendingRequests to 0.
NOTE: This functionality is only available in Windows.
Default Value
0