ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
Jam.Threading.TAsyncProcedure.CreateNoAdd

Use this method to create an TProcedureWorkItem

Syntax
Pascal
constructor CreateNoAdd(pMethod: TProc; const pCancellationToken: ICancellationIndicator = nil; pOnWorkDone: TWorkDoneEvent = nil; pTag: NativeInt = 0); overload; deprecated;
Parameters 
Description 
pMethod: TProc 
The procedure that should be executed in this work item. 
const pCancellationToken: ICancellationIndicator = nil 
[optional] A cancellation token. 
pOnWorkDone: TWorkDoneEvent = nil 
[optional] Method or anonymous procedure that is executed after the work item finished its work. 
pTag: NativeInt = 0 
[optional] a tag for the work item.