Marshal.GetThreadFromFiberCookie(Int32) Methode

Definition

Achtung

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

Wandelt ein Fasercookies in die entsprechende Thread Instanz um.

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

Parameter

cookie
Int32

Eine ganze Zahl, die ein Fasercookies darstellt.

Gibt zurück

Ein Thread, der dem cookie Parameter entspricht.

Attribute

Ausnahmen

Der cookie Parameter ist 0.

Hinweise

Fasercookies sind undurchsichtige Token, die vom Host verwendet werden, wenn sie die Common Language Runtime auf ihre Faserplanungsentscheidungen aufmerksam machen. Sie bestehen aus einem Stapel und registrieren kontext.

Gilt für:

Weitere Informationen