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

Gets a reference to the currently running thread.

[Visual Basic]
Public Shared ReadOnly Property CurrentThread As Thread
[C#]
public static Thread CurrentThread {get;}
[C++]
public: __property static Thread* get_CurrentThread();
[JScript]
public static function get CurrentThread() : Thread;

Property Value

The currently running Thread.

Exceptions

Exception Type Condition
SecurityException The caller does not have the appropriate SecurityPermission.

See Also

Thread Class | Thread Members | System.Threading Namespace