Marshal.GetThreadFromFiberCookie(Int32) Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Atenção
The GetThreadFromFiberCookie method has been deprecated. Use the hosting API to perform this operation.
Converte um cookie de fibra na instância correspondente 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
Parâmetros
- cookie
- Int32
Um inteiro que representa um cookie de fibra.
Devoluções
Um fio que corresponde ao cookie parâmetro.
- Atributos
Exceções
O cookie parâmetro é 0.
Observações
Cookies de fibra são tokens opacos que são usados pelo anfitrião ao alertar o runtime da linguagem comum para as suas decisões de agendamento de fibra. Consistem num contexto de pilha e registo.