Share via


Marshal.GetThreadFromFiberCookie(Int32) 메서드

정의

주의

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

파이버 쿠키를 해당 Thread 인스턴스로 변환합니다.

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

매개 변수

cookie
Int32

파이버 쿠키를 나타내는 정수입니다.

반환

cookie 매개 변수에 해당하는 스레드입니다.

특성

예외

cookie 매개 변수가 0인 경우

설명

파이버 쿠키는 공용 언어 런타임에 파이버 예약 결정에 대해 경고할 때 호스트에서 사용하는 불투명 토큰입니다. 스택 및 레지스터 컨텍스트로 구성됩니다.

적용 대상

추가 정보