Sdílet prostřednictvím


JoinableTaskContext.MainThread Property

Definition

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.

Applies to