.NET Framework Class Library
Parallel Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Provides support for parallel loops and regions.

Namespace:  System.Threading
Assembly:  mscorlib (in mscorlib.dll)
Syntax

Visual Basic (Declaration)
<HostProtectionAttribute(SecurityAction.LinkDemand, Synchronization := True,  _
    ExternalThreading := True)> _
Public NotInheritable Class Parallel
Visual Basic (Usage)
You do not need to declare an instance of a static class in order to access its members.
C#
[HostProtectionAttribute(SecurityAction.LinkDemand, Synchronization = true, 
    ExternalThreading = true)]
public static class Parallel
Visual C++
[HostProtectionAttribute(SecurityAction::LinkDemand, Synchronization = true, 
    ExternalThreading = true)]
public ref class Parallel abstract sealed
JScript
public final class Parallel
F#
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<HostProtectionAttribute(SecurityAction.LinkDemand, Synchronization = true, 
    ExternalThreading = true)>]
type Parallel =  class end
Remarks

NoteNote

The HostProtectionAttribute attribute applied to this type or member has the following Resources property value: Synchronization | ExternalThreading. The HostProtectionAttribute does not affect desktop applications (which are typically started by double-clicking an icon, typing a command, or entering a URL in a browser). For more information, see the HostProtectionAttribute class or SQL Server Programming and Host Protection Attributes.

The System.Threading..::.Parallel class provides library-based data parallel replacements for common operations such as for loops, for each loops, and execution of a set of statements.

Inheritance Hierarchy

System..::.Object
  System.Threading..::.Parallel
Thread Safety

All public and protected members of System.Threading..::.Barrier are thread-safe and may be used concurrently from multiple threads

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 4
See Also

Reference

Page view tracker