AppDomain.GetCurrentThreadId メソッド
アセンブリ: mscorlib (mscorlib.dll 内)
構文<ObsoleteAttribute("AppDomain.GetCurrentThreadId has been deprecated because it does not provide a stable Id when managed threads are running on fibers (aka lightweight threads). To get a stable identifier for a managed thread, use the ManagedThreadId property on Thread. http://go.microsoft.com/fwlink/?linkid=14202", False)> _ Public Shared Function GetCurrentThreadId As Integer
Dim returnValue As Integer returnValue = AppDomain.GetCurrentThreadId
[ObsoleteAttribute("AppDomain.GetCurrentThreadId has been deprecated because
it does not provide a stable Id when managed threads are running on fibers (aka
lightweight threads). To get a stable identifier for a managed thread, use the ManagedThreadId property on Thread. http://go.microsoft.com/fwlink/?linkid=14202",
false)]
public static int GetCurrentThreadId
()
[ObsoleteAttribute(L"AppDomain.GetCurrentThreadId has been deprecated because it does not provide a stable Id when managed threads are running on fibers (aka lightweight threads). To get a stable identifier for a managed thread, use the ManagedThreadId property on Thread. http://go.microsoft.com/fwlink/?linkid=14202", false)] public: static int GetCurrentThreadId ()
/** @attribute ObsoleteAttribute("AppDomain.GetCurrentThreadId has been deprecated because it does not provide a stable Id when managed threads are running on fibers (aka lightweight threads). To get a stable identifier for a managed thread, use the ManagedThreadId property on Thread. http://go.microsoft.com/fwlink/?linkid=14202", false) */ public static int GetCurrentThreadId ()
ObsoleteAttribute("AppDomain.GetCurrentThreadId has been deprecated because
it does not provide a stable Id when managed threads are running on fibers (aka
lightweight threads). To get a stable identifier for a managed thread, use the ManagedThreadId property on Thread. http://go.microsoft.com/fwlink/?linkid=14202",
false)
public static function GetCurrentThreadId
() : int
現在のスレッドの識別子を表す 32 ビット符号付き整数。
.NET Framework のセキュリティ
プラットフォームWindows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照Weblioに収録されているすべての辞書からAppDomain.GetCurrentThreadId メソッドを検索する場合は、下記のリンクをクリックしてください。
全ての辞書からAppDomain.GetCurrentThreadId メソッド
を検索
- AppDomain.GetCurrentThreadId メソッドのページへのリンク