Barrier.AddParticipant 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 an additional participant.
Assembly: System (in System.dll)
Return Value
Type: System.Int64The phase number of the barrier in which the new participants will first participate.
| Exception | Condition |
|---|---|
| ObjectDisposedException | The current instance has already been disposed. |
| InvalidOperationException | Adding a participant would cause the barrier's participant count to exceed 32,767. -or- The method was invoked from within a post-phase action. |
Show: