Barrier Constructor (Int32)

.NET Framework (current version)
 

Initializes a new instance of the Barrier class.

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

public:
Barrier(
	int participantCount
)

Parameters

participantCount
Type: System::Int32

The number of participating threads.

Exception Condition
ArgumentOutOfRangeException

participantCount is less than 0 or greater than 32,767.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
Show: