Marshal.GetThreadFromFiberCookie(Int32) Methode

Definition

Achtung

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

Achtung

This method has been deprecated

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);
[System.Obsolete("This method has been deprecated")]
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
[<System.Obsolete("This method has been deprecated")>]
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

Thread

Ein Thread, der dem cookie-Parameter entspricht.

Attribute

Ausnahmen

Der cookie-Parameter ist 0 (null).

Hinweise

Fasercookies sind undurchsichtige Token, die vom Host verwendet werden, wenn Sie die allgemeine Sprachlaufzeit auf ihre Faserplanungsentscheidungen benachrichtigen. Sie bestehen aus einem Stapel und Registrieren des Kontexts.

Gilt für

Siehe auch