FromThread Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the dispatcher for a specified thread.
Namespace: Microsoft.SPOT
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Public Shared Function FromThread ( _
thread As Thread _
) As Dispatcher
public static Dispatcher FromThread(
Thread thread
)
public:
static Dispatcher^ FromThread(
Thread^ thread
)
static member FromThread :
thread:Thread -> Dispatcher
public static function FromThread(
thread : Thread
) : Dispatcher
Parameters
- thread
Type: System.Threading. . :: . .Thread
The thread from which the dispatcher is to be obtained.
Return Value
Type: Microsoft.SPOT. . :: . .Dispatcher
The dispatcher for the specified thread.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.