CurrentThread Property
Collapse the table of content
Expand the table of content

Thread.CurrentThread Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the currently running thread.

Namespace:  System.Threading
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Public Shared ReadOnly Property CurrentThread As Thread

Property Value

Type: System.Threading.Thread
The currently running thread.

Use this property in thread procedures, when you need to obtain information about the thread that is currently executing the procedure.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft