Persistate API documentation
CallPeriodic Method (work, initialDelay, subsequentDelay)
NamespacesPersistateSessionCallPeriodic(Work, Int32, Int32)

[This is preliminary documentation and is subject to change.]

Executes a parameterless method at regular intervals on a ThreadPool thread.
Declaration Syntax
C#
public Timer CallPeriodic(
	Work work,
	int initialDelay,
	int subsequentDelay
)
Parameters
work (Work)
A delegate which will be executed on the thread.
initialDelay (Int32)
The number of milliseconds until the first execution of the method. Specify zero to execute the method immediately.
subsequentDelay (Int32)
The number of milliseconds between subsequent executions. Specify Timeout.Infinite to disable subsequent executions.
Return Value
The System.Threading.Timer object used to control the executions.
Remarks
This method ensures that ActiveSession is set correctly to this session on the new thread. Use this in preference to using Timer classes directly.

Assembly: Persistate (Module: Persistate) Version: 0.6.1.20 (0.6.1.20)