Marshal.GetThreadFromFiberCookie(Int32) Método

Definición

Precaución

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

Precaución

This method has been deprecated

Convierte una cookie de fibra en la correspondiente instancia 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);
[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

Parámetros

cookie
Int32

Entero que representa una cookie de fibra.

Devoluciones

Thread

Subproceso correspondiente al parámetro cookie.

Atributos

Excepciones

El parámetro cookie es 0.

Comentarios

Las cookies de fibra son tokens opacos que usa el host al alertar a Common Language Runtime a sus decisiones de programación de fibra. Constan de una pila y registran contexto.

Se aplica a

Consulte también