Marshal.GetThreadFromFiberCookie(Int32) Метод

Определение

Внимание!

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

Преобразует многослойный файл cookie в соответствующий экземпляр 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

Параметры

cookie
Int32

Целое число, представляющее многослойный файл cookie.

Возвращаемое значение

Поток, соответствующий параметру cookie.

Атрибуты

Исключения

Параметр cookie равен 0.

Комментарии

Файлы cookie fibre — это непрозрачные маркеры, которые используются узлом при оповещении среды CLR о решениях по планированию волокон. Они состоят из стека и контекста регистра.

Применяется к

См. также раздел