JoinableTaskCollection Class

 

A joinable collection of jobs.

Namespace:   Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

System.Object
  Microsoft.VisualStudio.Threading.JoinableTaskCollection

public class JoinableTaskCollection : IEnumerable<JoinableTask>, 
	IEnumerable

NameDescription
System_CAPS_pubmethodJoinableTaskCollection(JoinableTaskContext, Boolean)

Initializes a new instance of JoinableTaskCollection with the specified task context.

NameDescription
System_CAPS_pubpropertyContext

Gets the JoinableTaskContext to which this collection belongs.

NameDescription
System_CAPS_pubmethodAdd(JoinableTask)

Adds the specified job to this collection.

System_CAPS_pubmethodContains(JoinableTask)

Determines whether the specified job is a member of this collection.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Enumerates the tasks in this collection.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodJoin()

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. 

System_CAPS_pubmethodJoinTillEmptyAsync()

Joins the caller's context to this collection till the collection is empty.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemove(JoinableTask)

Removes the specified job from this collection, or decrements the ref count if this collection tracks it.

System_CAPS_pubmethodToString()

(Inherited from Object.)

This type is thread-safe for all members.

Return to top
Show: