Initializes a new instance of the Thread class.
[Visual Basic] Public Sub New( _ ByVal start As ThreadStart _ ) [C#] public Thread( ThreadStart start ); [C++] public: Thread( ThreadStart* start ); [JScript] public function Thread( start : ThreadStart );
Exception Type | Condition |
---|---|
ArgumentNullException | The start parameter is a null reference (in Visual Basic Nothing). |
SecurityException | Caller does not have the appropriate SecurityPermission. |
The new Thread will begin execution at a specified location when Start is called.