Share via


ThreadStart Delegate

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents the method that executes on a Thread.

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

Syntax

'Declaration
Public Delegate Sub ThreadStart
public delegate void ThreadStart()
public delegate void ThreadStart()
type ThreadStart = 
    delegate of unit -> unit
JScript does not support delegates.

Remarks

When a managed thread is created, the method that executes on the thread is represented by a ThreadStart delegate or a ParameterizedThreadStart delegate that is passed to the #ctor constructor. The thread does not begin executing until the Thread.Start method is called. Execution begins at the first line of the method represented by the ThreadStart or ParameterizedThreadStart delegate.

See Also

Reference

System.Threading Namespace