2012-12-24 18 views

答えて

27

WindowsストアアプリケーションでサポートされているEnvironment.CurrentManagedThreadIdを参照してください。

Windowsストア用の.NETでサポートされている

をアプリ:スレッドクラスはUWPでサポートされていないWindowsの8

+1

、タスクは、利用可能な私がするために、タスクにキャストすることができますこれを使って? – DemetrioProgramerOsorio

+0

いいえ、スレッドとタスクは異なる獣です。 –

0

GetCurrentThreadId functionRetrieves the thread identifier of the calling thread.

WinBase.hのWindows XP、Windows Server 2003では、Windows Vistaでは、Windows 7、Windows Server 2008、およびWindows Server 2008 R2の(上のWindowsが含まれています。 h); Windows 8およびWindows Server 2012のProcessthreadsapi.h

関連する問題