Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/multithreading/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 使用C获取Windows 8上的当前线程id#_C#_Multithreading_Windows Runtime_Windows Store Apps - Fatal编程技术网

C# 使用C获取Windows 8上的当前线程id#

C# 使用C获取Windows 8上的当前线程id#,c#,multithreading,windows-runtime,windows-store-apps,C#,Multithreading,Windows Runtime,Windows Store Apps,System.Threading.Thread(带有.CurrentThread.ThreadId等)已从WinRT中删除。是否可以在Windows 8中获取当前线程id(用于调试和日志记录?) 检索调用线程的线程标识符。 Windows XP、Windows Server 2003、Windows Vista、Windows 7、Windows Server 2008和Windows Server 2008 R2(包括Windows.h)上的WinBase.h; Windows 8和Windo

System.Threading.Thread(带有.CurrentThread.ThreadId等)已从WinRT中删除。是否可以在Windows 8中获取当前线程id(用于调试和日志记录?)

检索调用线程的线程标识符。

Windows XP、Windows Server 2003、Windows Vista、Windows 7、Windows Server 2008和Windows Server 2008 R2(包括Windows.h)上的WinBase.h; Windows 8和Windows Server 2012上的Processthreadsapi.h

查看windows应用商店应用程序中支持哪些应用程序

.NET for Windows应用商店应用程序

在Windows 8中受支持


UWP中不支持thread类,任务可用,我可以将其转换为Task以使用它吗?