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

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

Executes a method with two parameters on a ThreadPool thread.
Declaration Syntax
C#
public void CallConcurrent<T, U>(
	Work<T, U> work,
	T parameter1,
	U parameter2
)
Generic Template Parameters
T
The type of the first parameter to pass to the method.
U
The type of the second parameter to pass to the method.
Parameters
work (Work<(Of <(<'T, U>)>)>)
A delegate which will be executed on the thread.
parameter1 (T)
The first parameter which will be passed to the work delegate call.
parameter2 (U)
The second 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)