Marshal.GetThreadFromFiberCookie(Int32) Metoda

Definicja

Przestroga

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

Konwertuje plik cookie światłowodowy na odpowiednie Thread wystąpienie.

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

Parametry

cookie
Int32

Liczba całkowita reprezentująca plik cookie światłowodowy.

Zwraca

Wątek odpowiadający parametrowi cookie .

Atrybuty

Wyjątki

Parametr cookie ma wartość 0.

Uwagi

Pliki cookie światłowodowe to nieprzezroczyste tokeny, które są używane przez hosta podczas zgłaszania alertów środowiska uruchomieniowego języka wspólnego do decyzji dotyczących planowania światłowodów. Składają się one z stosu i kontekstu rejestrowania.

Dotyczy

Zobacz też