Marshal.GetThreadFromFiberCookie メソッド
アセンブリ: mscorlib (mscorlib.dll 内)

<ObsoleteAttribute("The GetThreadFromFiberCookie method has been deprecated. Use the hosting API to perform this operation.", False)> _ Public Shared Function GetThreadFromFiberCookie ( _ cookie As Integer _ ) As Thread
Dim cookie As Integer Dim returnValue As Thread returnValue = Marshal.GetThreadFromFiberCookie(cookie)
[ObsoleteAttribute("The GetThreadFromFiberCookie method has been deprecated. Use the hosting API to perform this operation.", false)] public static Thread GetThreadFromFiberCookie ( int cookie )
[ObsoleteAttribute(L"The GetThreadFromFiberCookie method has been deprecated. Use the hosting API to perform this operation.", false)] public: static Thread^ GetThreadFromFiberCookie ( int cookie )
/** @attribute ObsoleteAttribute("The GetThreadFromFiberCookie method has been deprecated. Use the hosting API to perform this operation.", false) */ public static Thread GetThreadFromFiberCookie ( int cookie )
ObsoleteAttribute("The GetThreadFromFiberCookie method has been deprecated. Use the hosting API to perform this operation.", false) public static function GetThreadFromFiberCookie ( cookie : int ) : Thread
戻り値
cookie パラメータに対応する Thread。


ファイバ cookie は、ホストのファイバ スケジューリングの決定に対する共通言語ランタイムに警告するときに、ホストによって使用される非透過トークンです。これらは、スタックとレジスタのコンテキストで構成されます。
![]() |
---|
このメソッドは SecurityAction.LinkDemand を使用して、信頼関係のないコードからの呼び出しを防ぎます。SecurityPermissionAttribute.UnmanagedCode アクセス許可は、直前の呼び出し元にのみ要求されます。信頼性が一部しか確認されていないコードから呼び出すことができるコードの場合、ユーザー入力を検証せずに Marshal クラスに渡すことは避けてください。LinkDemand メンバの使用に関する重要な制約事項については、「Demand と LinkDemand」を参照してください。 |

- SecurityPermission (アンマネージ コードを呼び出すために必要なアクセス許可)。 UnmanagedCode (関連する列挙体)。LinkDemand (セキュリティ アクション)。

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に収録されているすべての辞書からMarshal.GetThreadFromFiberCookie メソッドを検索する場合は、下記のリンクをクリックしてください。

- Marshal.GetThreadFromFiberCookie メソッドのページへのリンク