CMSThread.Wrap<T> Method (Action<T>, 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.Action<T>
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: OnlineAction<T>
See Also