Marshal.GetThreadFromFiberCookie Method (Int32)
Converts a fiber cookie into the corresponding System.Threading.Thread instance.
Assembly: mscorlib (in mscorlib.dll)
[SecurityCriticalAttribute] [ObsoleteAttribute("The GetThreadFromFiberCookie method has been deprecated. Use the hosting API to perform this operation.", false)] public static Thread GetThreadFromFiberCookie( int cookie )
An integer that represents a fiber cookie.
Return ValueType: System.Threading.Thread
A thread that corresponds to the cookie parameter.
Fiber cookies are opaque tokens that are used by the host when alerting the common language runtime to its fiber-scheduling decisions. They consist of a stack and register context.
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.
Available since 1.1