Compartir a través de


JoinableTaskContextNode.MainThread Property

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

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

Syntax

'Declaration
Public ReadOnly Property MainThread As Thread
public Thread MainThread { get; }
public:
property Thread^ MainThread {
    Thread^ get ();
}
member MainThread : Thread with get
function get MainThread () : Thread

Property Value

Type: System.Threading.Thread
Returns Thread.

.NET Framework Security

See Also

Reference

JoinableTaskContextNode Class

Microsoft.VisualStudio.Threading Namespace