Wraps the given method into CMSThread context
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- action
- Type: System.Func<T1, TResult>
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: Func<T1, TResult>See Also