Marshal.GetThreadFromFiberCookie(Int32) Yöntem

Tanım

Dikkat

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

Fiber tanımlama bilgisini ilgili Thread örneğine dönüştürür.

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

Parametreler

cookie
Int32

Fiber tanımlama bilgisini temsil eden tamsayı.

Döndürülenler

Parametresine cookie karşılık gelen bir iş parçacığı.

Öznitelikler

Özel durumlar

cookie Parametresi 0'dır.

Açıklamalar

Fiber tanımlama bilgileri, ortak dil çalışma zamanını fiber zamanlama kararlarına uyarırken konak tarafından kullanılan donuk belirteçlerdir. Bunlar bir yığın ve yazmaç bağlamından oluşur.

Şunlara uygulanır

Ayrıca bkz.