CMSThread WrapFunc T1, TResult  Method (Func T1, TResult , Boolean)Kentico 8.1 API Reference
Wraps the given method into CMSThread context

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

action
Type: OnlineSystem Func T1, TResult 
Action to wrap
multipleThreads (Optional)
Type: OnlineSystem Boolean
If true, the wrapped method may be used by multiple threads. Use this parameter to ensure that all the threads receive the original context values.

Return Value

Type: OnlineFunc T1, TResult 
See Also