JoinableTaskCollection Class
A joinable collection of jobs.
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
| Name | Description | |
|---|---|---|
![]() | JoinableTaskCollection(JoinableTaskContext, Boolean) | Initializes a new instance of JoinableTaskCollection with the specified task context. |
| Name | Description | |
|---|---|---|
![]() | Context | Gets the JoinableTaskContext to which this collection belongs. |
| Name | Description | |
|---|---|---|
![]() | Add(JoinableTask) | Adds the specified job to this collection. |
![]() | Contains(JoinableTask) | Determines whether the specified job is a member of this collection. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetEnumerator() | Enumerates the tasks in this collection. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | Join() | Shares any access to the main thread that may be held by the caller with all joinable tasks in this collection until the returned value is disposed. |
![]() | JoinTillEmptyAsync() | Joins the caller's context to this collection till the collection is empty. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Remove(JoinableTask) | Removes the specified job from this collection, or decrements the ref count if this collection tracks it. |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IEnumerable.GetEnumerator() | Gets the enumerator. |
This type is thread-safe for all members.




