Thread.CurrentThread.ManagedThreadId
时间: 2023-08-22 08:10:32 浏览: 179
Thread.CurrentThread.ManagedThreadId是一个用于获取当前线程的唯一标识符的属性。它返回一个整数值,用于标识当前线程的ID。\[1\]\[2\]\[3\]
#### 引用[.reference_title]
- *1* *2* [主线程 子线程 调用 ThreadId BeginInvoke调用和Invoke调用](https://blog.csdn.net/weixin_30449453/article/details/97959065)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [C# -- 多线程](https://blog.csdn.net/liankui6027/article/details/117398104)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文