ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
JamItemIdList.TItemIdListHelper.TryReload

Tries reloading the ItemIdList asynchronously giving the operation only a definable amount of time.

Syntax
Pascal
class function TryReload(const pItemIdList: IItemIdList; const pStopAfter: integer; var pFinished: Boolean; const pCancellationIndicator: ICancellationIndicator = nil): boolean;
Parameters 
Description 
const pItemIdList: IItemIdList 
The ItemIdList to reload. 
const pStopAfter: integer 
Max time (in ms) to accomplish the operation. 
var pFinished: Boolean 
True, if the operation was finished in the given time; false otherwise 
const pCancellationIndicator: ICancellationIndicator = nil 
An optional cancellation indicator for the workitem. 

boolean: true if the operation finished in time, and reloading succeeded, false if reloading did not succeed, or took too long.