Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Barrier.RemoveParticipant Method

Definition

Namespace:
System.Threading
Assemblies:
System.dll, System.Threading.dll
Assemblies:
netstandard.dll, System.Threading.dll
Assembly:
System.Threading.dll
Assembly:
System.dll
Assembly:
netstandard.dll
Source:
Barrier.cs
Source:
Barrier.cs
Source:
Barrier.cs
Source:
Barrier.cs
Source:
Barrier.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Notifies the Barrier that there will be one less participant.

public:
 void RemoveParticipant();
public void RemoveParticipant();
member this.RemoveParticipant : unit -> unit
Public Sub RemoveParticipant ()

Exceptions

The current instance has already been disposed.

The barrier already has 0 participants.

-or-

The method was invoked from within a post-phase action.

Applies to

See also


Feedback

Was this page helpful?