Marshal.GetThreadFromFiberCookie(Int32) Metoda

Definice

Upozornění

The GetThreadFromFiberCookie method has been deprecated. Use the hosting API to perform this operation.

Upozornění

This method has been deprecated

Převede soubor cookie vlákna na odpovídající Thread instanci.

public:
 static System::Threading::Thread ^ GetThreadFromFiberCookie(int cookie);
public static System.Threading.Thread GetThreadFromFiberCookie (int cookie);
[System.Obsolete("The GetThreadFromFiberCookie method has been deprecated.  Use the hosting API to perform this operation.", false)]
public static System.Threading.Thread GetThreadFromFiberCookie (int cookie);
[System.Obsolete("The GetThreadFromFiberCookie method has been deprecated.  Use the hosting API to perform this operation.", false)]
[System.Security.SecurityCritical]
public static System.Threading.Thread GetThreadFromFiberCookie (int cookie);
[System.Obsolete("This method has been deprecated")]
public static System.Threading.Thread GetThreadFromFiberCookie (int cookie);
static member GetThreadFromFiberCookie : int -> System.Threading.Thread
[<System.Obsolete("The GetThreadFromFiberCookie method has been deprecated.  Use the hosting API to perform this operation.", false)>]
static member GetThreadFromFiberCookie : int -> System.Threading.Thread
[<System.Obsolete("The GetThreadFromFiberCookie method has been deprecated.  Use the hosting API to perform this operation.", false)>]
[<System.Security.SecurityCritical>]
static member GetThreadFromFiberCookie : int -> System.Threading.Thread
[<System.Obsolete("This method has been deprecated")>]
static member GetThreadFromFiberCookie : int -> System.Threading.Thread
Public Shared Function GetThreadFromFiberCookie (cookie As Integer) As Thread

Parametry

cookie
Int32

Celé číslo, které představuje soubor cookie s vlákny.

Návraty

Thread

Vlákno, které odpovídá parametru cookie .

Atributy

Výjimky

Parametr cookie je 0.

Poznámky

Soubory cookie s vlákny jsou neprůhlé tokeny, které hostitel používá při upozorňování modulu CLR (Common Language Runtime) na rozhodnutí o plánování vláken. Skládají se ze zásobníku a kontextu registru.

Platí pro

Viz také