NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Thread Constructor

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
);

Parameters

start
The delegate to be called when Start is called.

Exceptions

Exception Type Condition
ArgumentNullException The start parameter is a null reference (in Visual Basic Nothing).
SecurityException Caller does not have the appropriate SecurityPermission.

Remarks

The new Thread will begin execution at a specified location when Start is called.

See Also

Thread Class | Thread Members | System.Threading Namespace