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

정의

주의

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

주의

This method has been deprecated

비관리 코드에서 관리 코드로 호출을 마샬링하는 런타임 생성 함수에 대한 포인터를 가져옵니다.Gets a pointer to a runtime-generated function that marshals a call from unmanaged to managed code.

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);
[System.Obsolete("This method has been deprecated")]
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
[<System.Obsolete("This method has been deprecated")>]
static member GetUnmanagedThunkForManagedMethodPtr : nativeint * nativeint * int -> nativeint
Public Shared Function GetUnmanagedThunkForManagedMethodPtr (pfnMethodToWrap As IntPtr, pbSignature As IntPtr, cbSignature As Integer) As IntPtr

매개 변수

pfnMethodToWrap
IntPtr

마샬링할 메서드에 대한 포인터입니다.A pointer to the method to marshal.

pbSignature
IntPtr

메서드 시그니처에 대한 포인터입니다.A pointer to the method signature.

cbSignature
Int32

pbSignature의 바이트 수입니다.The number of bytes in pbSignature.

반환

IntPtr

pfnMethodToWrap에서의 호출을 관리 코드로 마샬링할 함수에 대한 포인터입니다.A pointer to a function that will marshal a call from pfnMethodToWrap to managed code.

특성

설명

GetUnmanagedThunkForManagedMethodPtr 는 컴파일러 지원에만 노출 됩니다.GetUnmanagedThunkForManagedMethodPtr is exposed for compiler support only.

적용 대상