JoinableTaskContextNode Class
A customizable source of JoinableTaskFactory instances.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Threading.JoinableTaskContextNode
Namespace: Microsoft.VisualStudio.Threading
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Syntax
'Declaration
Public Class JoinableTaskContextNode
public class JoinableTaskContextNode
public ref class JoinableTaskContextNode
type JoinableTaskContextNode = class end
public class JoinableTaskContextNode
The JoinableTaskContextNode type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
JoinableTaskContextNode | Initializes a new instance of JoinableTaskContextNode. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
Context | Gets the inner wrapped context. |
![]() |
Factory | Gets the factory that creates joinable tasks that do not belong to a joinable task collection. |
![]() |
MainThread | Gets the main thread that can be shared by tasks created by this context. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
CreateCollection | Creates a collection for in-flight joinable tasks. |
![]() |
CreateDefaultFactory | Creates a factory without a JoinableTaskCollection. |
![]() |
CreateFactory | Creates a joinable task factory that automatically adds all created tasks to a collection that can be jointly joined. |
![]() |
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.) |
![]() |
IsMainThreadBlocked | Determines whether the main thread is blocked for the caller's completion. |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
OnHangDetected | Occurs when a hang involving the main thread is suspected to have occurred. |
![]() |
RegisterOnHangDetected | Registers with the inner JoinableTaskContext to receive hang notifications. |
![]() |
SuppressRelevance | Conceals any JoinableTask the caller is associated with until the returned value is disposed. |
![]() |
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.