JoinableTaskContext.MainThread Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the main thread that can be shared by tasks created by this context.
public:
property System::Threading::Thread ^ MainThread { System::Threading::Thread ^ get(); };
public System.Threading.Thread MainThread { get; }
member this.MainThread : System.Threading.Thread
Public ReadOnly Property MainThread As Thread
Property Value
Returns Thread.