System.Threading.ThreadStart Delegate

public delegate void ThreadStart();

Base Types

Object
  Delegate
    ThreadStart

This type implements ICloneable.

Assembly

mscorlib

Library

BCL

Summary

Defines the shape of methods that are called when a Thread is started.

Description

[Note: A new instance of the Thread class is created using a constructor that takes a ThreadStart delegate as its only parameter. When System.Threading.Thread.Start is invoked and the thread begins executing, all of the methods in the invocation list of the specified delegate are invoked in the execution context of the thread. If a method in the invocation list receives an unhandled exception, the thread is terminated, but not the process that contains the thread.]

[Note: For an example that demonstrates creating a ThreadStart delegate, see System.Threading.Thread.Start.]

See Also

System.Threading Namespace