Barrier.RemoveParticipants Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Notifies the Barrier that there will be fewer participants.
Assembly: System (in System.dll)
Parameters
- participantCount
- Type: System.Int32
The number of additional participants to remove from the barrier.
| Exception | Condition |
|---|---|
| ObjectDisposedException | The current instance has already been disposed. |
| ArgumentOutOfRangeException | participantCount is less than 0. |
| InvalidOperationException | The barrier already has 0 participants. -or- The method was invoked from within a post-phase action. -or- current participant count is less than the specified participantCount |
| ArgumentOutOfRangeException | The total participant count is less than the specified participantCount |