Is there a way to get a Thread’s ThreadName from a ThreadId? (from say, a ThreadID like 10, or 15, etc.)
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Not in managed code. You can’t even get a list of
Threadobjects for the current process, as far as I’m aware. You can get theProcessThreads withProcess.ThreadsandProcessThreadprovides anIdproperty, if that helps you… but aProcessThreaddoesn’t have a name as far as I can tell 🙁