JoinableTaskContextNode Class

 

A customizable source of JoinableTaskFactory instances.

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

System.Object
  Microsoft.VisualStudio.Threading.JoinableTaskContextNode

public class JoinableTaskContextNode

NameDescription
System_CAPS_pubmethodJoinableTaskContextNode(JoinableTaskContext)

Initializes a new instance of JoinableTaskContextNode.

NameDescription
System_CAPS_pubpropertyContext

Gets the inner wrapped context.

System_CAPS_pubpropertyFactory

Gets the factory that creates joinable tasks that do not belong to a joinable task collection.

System_CAPS_pubpropertyMainThread

Gets the main thread that can be shared by tasks created by this context.

NameDescription
System_CAPS_pubmethodCreateCollection()

Creates a collection for in-flight joinable tasks.

System_CAPS_protmethodCreateDefaultFactory()

Creates a factory without a JoinableTaskCollection.

System_CAPS_pubmethodCreateFactory(JoinableTaskCollection)

Creates a joinable task factory that automatically adds all created tasks to a collection that can be jointly joined.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsMainThreadBlocked()

Determines whether the main thread is blocked for the caller's completion.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodOnHangDetected(TimeSpan, Int32, Guid)

Occurs when a hang involving the main thread is suspected to have occurred.

System_CAPS_protmethodRegisterOnHangDetected()

Registers with the inner JoinableTaskContext to receive hang notifications.

System_CAPS_pubmethodSuppressRelevance()

Conceals any JoinableTask the caller is associated with until the returned value is disposed.

System_CAPS_pubmethodToString()

(Inherited from Object.)

This type is thread-safe for all members.

Return to top
Show: