Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
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
- 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.