System::Threading::Thread::get_ManagedThreadId method

Thread::get_ManagedThreadId method

Gets identifier of thread. Can be got from OS, but if OS thread identifier exceeds int limits, ids of threads can intersect.

int System::Threading::Thread::get_ManagedThreadId() const

ReturnValue

Pseudo-unique thread identifier.

See Also