AsyncBarrier Class
An asynchronous barrier that blocks the signaler until all the other participants have signaled.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Threading.AsyncBarrier
Namespace: Microsoft.VisualStudio.Threading
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Syntax
'Declaration
Public Class AsyncBarrier
public class AsyncBarrier
public ref class AsyncBarrier
type AsyncBarrier = class end
public class AsyncBarrier
The AsyncBarrier type exposes the following members.
Constructors
Name | Description | |
---|---|---|
AsyncBarrier | Initializes a new instance of AsyncBarrier. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SignalAndWait | Signals that a participant has completed work, and returns an awaitable that completes when all other participants have also completed. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.