Persistate API documentation
CallConcurrent<(Of <(<'T>)>)> Method (work, parameter)
NamespacesPersistateSessionCallConcurrent<(Of <<'(T>)>>)(Work<(Of <<'(T>)>>), T)

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

Executes a method with one parameter on a ThreadPool thread.
Declaration Syntax
C#
public void CallConcurrent<T>(
	Work<T> work,
	T parameter
)
Generic Template Parameters
T
The type of the parameter to pass to the method.
Parameters
work (Work<(Of <(<'T>)>)>)
A delegate which will be executed on the thread.
parameter (T)
A parameter which will be passed to the work delegate call.
Remarks
This method ensures that ActiveSession is set correctly to this Session on the new thread.

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