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.Suspend

Either suspends the thread, or if the thread is already suspended, has no effect.

[Visual Basic]
Public Sub Suspend()
[C#]
public void Suspend();
[C++]
public: void Suspend();
[JScript]
public function Suspend();

Exceptions

Exception Type Condition
ThreadStateException The thread has not been started or is dead.
SecurityException The caller does not have the appropriate SecurityPermission.

Remarks

If the thread is already suspended, this method has no effect.

See Also

Thread Class | Thread Members | System.Threading Namespace