CMSParallel ForEach TSource  Method (IList TSource , Action TSource , ParallelOptions)Kentico 8.1 API Reference
Executes a for each operation on an System.Collections.IEnumerable{TSource} in which iterations may run in parallel. Wraps the operation into CMSThread to ensure proper context.

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

Parameters

source
Type: OnlineSystem.Collections.Generic IList TSource 
Parallel sources
body
Type: OnlineSystem Action TSource 
Executing body
options
Type: OnlineSystem.Threading.Tasks ParallelOptions
Options for executing

Return Value

Type: OnlineParallelLoopResult
See Also