Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 Property MainThread As Thread
public Thread MainThread { get; private set; }
public:
property Thread^ MainThread {
Thread^ get ();
private: void set (Thread^ value);
}
member MainThread : Thread with get, private set
function get MainThread () : Thread
private function set MainThread (value : Thread)
Property Value
Type: System.Threading.Thread
Returns Thread.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.