Share via


Marshal.GetThreadFromFiberCookie(Int32) Methode

Definition

Achtung

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

Konvertiert ein Fibercookie in die entsprechende Thread-Instanz.

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 Fibercookie darstellt.

Gibt zurück

Ein Thread, der dem cookie-Parameter entspricht.

Attribute

Ausnahmen

Der cookie-Parameter ist 0 (null).

Hinweise

Glasfasercookies sind undurchsichtige Token, die vom Host verwendet werden, wenn die Common Language Runtime über ihre Entscheidungen zur Planung von Glasfasern benachrichtigt wird. Sie bestehen aus einem Stapel und einem Registerkontext.

Gilt für:

Weitere Informationen