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!

ThreadStart Delegate

The ThreadStart class is a delegate that points to the method that should be executed first when a thread is started.

Every subclass of Delegate and MulticastDelegate has a constructor and an Invoke method. See the example in the Delegate topic.

[Visual Basic]
Public Delegate Sub ThreadStart()
[C#]
public delegate void ThreadStart();
[C++]
public __gc __delegate void ThreadStart();

[JScript] In JScript, you can use the delegates in the NGWS frameworks, but you cannot define your own.

Parameters [Visual Basic, C#, C++]

The declaration of your event-handling method must have the same parameters as the ThreadStart delegate declaration.

Remarks

ThreadStart is invoked by the Start method.

Requirements

Namespace: System.Threading

Assembly: mscorlib.dll

See Also

System.Threading Namespace