Wraps the given method into CMSThread context
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- action
- Type: System.Action<T>
Action to wrap
- multipleThreads (Optional)
- Type: System.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: Action<T>See Also