The System.Threading.Thread class encapsulates all of the functionality threads offered on the Windows CE device that can be accessed with the .NET Compact Framework. Table 4.1 shows the methods and properties available in the Thread class on the .NET Compact Framework.
THREADING LIMITATIONS ON THE .NET COMPACT FRAMEWORKThe threading support available in the .NET Compact Framework is much less deep than that available on the desktop. It is important to pay attention to which overloads and classes are available. |
METHOD/PROPERTY NAME | DESCRIPTION |
---|---|
Thread | Constructor |
Priority | Gets or sets the thread's priority |
void Start | Starts a newly created or stopped thread; see “Creating and Starting a Thread” section |
void Sleep(int sleepTime) | Suspends thread execution for at least sleepTime milliseconds, passing CPU control to other threads |
static Thread CurrentThread | Returns the Thread object currently running |
3.12.166.255