Marshal.GetThreadFromFiberCookie(Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Attention
The GetThreadFromFiberCookie method has been deprecated. Use the hosting API to perform this operation.
Convertit un cookie fibre en l’instance correspondante Thread .
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);
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
Public Shared Function GetThreadFromFiberCookie (cookie As Integer) As Thread
Paramètres
- cookie
- Int32
Entier qui représente un cookie de fibre.
Retours
Thread qui correspond au cookie paramètre.
- Attributs
Exceptions
Le cookie paramètre est 0.
Remarques
Les cookies fibre sont des jetons opaques utilisés par l’hôte lors de l’alerte du Common Language Runtime à ses décisions de planification fibre. Ils se composent d’une pile et d’un contexte d’inscription.