| CMSThreadWrapFuncT1, TResult Method (FuncT1, TResult, Boolean) | 
            Wraps the given method into CMSThread context
            
 
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 8.2.23
Syntaxpublic static Func<T1, TResult> WrapFunc<T1, TResult>(
	Func<T1, TResult> action,
	bool multipleThreads = false
)
Parameters
- action
 - Type: SystemFuncT1, TResult
Action to wrap - multipleThreads (Optional)
 - Type: SystemBoolean
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. 
Type Parameters
- T1
 - TResult
 
Return Value
Type: 
FuncT1, 
TResult
See Also