다음을 통해 공유


Marshal.GetUnmanagedThunkForManagedMethodPtr(IntPtr, IntPtr, Int32) 메서드

정의

주의

The GetUnmanagedThunkForManagedMethodPtr method has been deprecated and will be removed in a future release.

비관리 코드에서 관리 코드로 호출을 마샬링하는 런타임 생성 함수에 대한 포인터를 가져옵니다.

public:
 static IntPtr GetUnmanagedThunkForManagedMethodPtr(IntPtr pfnMethodToWrap, IntPtr pbSignature, int cbSignature);
public static IntPtr GetUnmanagedThunkForManagedMethodPtr (IntPtr pfnMethodToWrap, IntPtr pbSignature, int cbSignature);
[System.Obsolete("The GetUnmanagedThunkForManagedMethodPtr method has been deprecated and will be removed in a future release.", false)]
public static IntPtr GetUnmanagedThunkForManagedMethodPtr (IntPtr pfnMethodToWrap, IntPtr pbSignature, int cbSignature);
[System.Obsolete("The GetUnmanagedThunkForManagedMethodPtr method has been deprecated and will be removed in a future release.", false)]
[System.Security.SecurityCritical]
public static IntPtr GetUnmanagedThunkForManagedMethodPtr (IntPtr pfnMethodToWrap, IntPtr pbSignature, int cbSignature);
static member GetUnmanagedThunkForManagedMethodPtr : nativeint * nativeint * int -> nativeint
[<System.Obsolete("The GetUnmanagedThunkForManagedMethodPtr method has been deprecated and will be removed in a future release.", false)>]
static member GetUnmanagedThunkForManagedMethodPtr : nativeint * nativeint * int -> nativeint
[<System.Obsolete("The GetUnmanagedThunkForManagedMethodPtr method has been deprecated and will be removed in a future release.", false)>]
[<System.Security.SecurityCritical>]
static member GetUnmanagedThunkForManagedMethodPtr : nativeint * nativeint * int -> nativeint
Public Shared Function GetUnmanagedThunkForManagedMethodPtr (pfnMethodToWrap As IntPtr, pbSignature As IntPtr, cbSignature As Integer) As IntPtr

매개 변수

pfnMethodToWrap
IntPtr

nativeint

마샬링할 메서드에 대한 포인터입니다.

pbSignature
IntPtr

nativeint

메서드 시그니처에 대한 포인터입니다.

cbSignature
Int32

pbSignature의 바이트 수입니다.

반환

IntPtr

nativeint

pfnMethodToWrap에서의 호출을 관리 코드로 마샬링할 함수에 대한 포인터입니다.

특성

설명

GetUnmanagedThunkForManagedMethodPtr 는 컴파일러 지원에만 노출됩니다.

적용 대상