Barrier Constructor (Int32)
Collapse the table of content
Expand the table of content

Barrier Constructor (Int32)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

ExceptionCondition
ArgumentOutOfRangeException

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

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft