RemoveParticipant Method

Task Parallel System.Threading

Notifies the Barrier that there will be one less participant.

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

Syntax

Visual Basic (Declaration)
Public Sub RemoveParticipant
C#
public void RemoveParticipant()

Exceptions

ExceptionCondition
System..::.InvalidOperationExceptionThe barrier already has 0 participants.
System..::.InvalidOperationException The method was invoked from within a post-phase action.
System..::.ObjectDisposedExceptionThe current instance has already been disposed.

See Also