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
Exception | Condition |
---|
System..::.InvalidOperationException | The barrier already has 0
participants. |
System..::.InvalidOperationException |
The method was invoked from within a post-phase action.
|
System..::.ObjectDisposedException | The current instance has already been
disposed. |
See Also