AppDomain.GetCurrentThreadId メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > AppDomain.GetCurrentThreadId メソッドの意味・解説 

AppDomain.GetCurrentThreadId メソッド

メモ : このメソッドは、互換性のために残されています。

現在のスレッド識別子取得します

名前空間: System
アセンブリ: 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 のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


このページでは「.NET Framework クラス ライブラリ リファレンス」からAppDomain.GetCurrentThreadId メソッドを検索した結果を表示しています。
Weblioに収録されているすべての辞書からAppDomain.GetCurrentThreadId メソッドを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からAppDomain.GetCurrentThreadId メソッド を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「AppDomain.GetCurrentThreadId メソッド」の関連用語

AppDomain.GetCurrentThreadId メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



AppDomain.GetCurrentThreadId メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS