CMSParallel ForEach TSource  Method ( TSource , Action TSource , ParallelOptions)Kentico 8.0 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.0.5239.26125)

Parameters

source
Type:  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