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

정의

주의

The GetManagedThunkForUnmanagedMethodPtr 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 managed to unmanaged code.

public:
 static IntPtr GetManagedThunkForUnmanagedMethodPtr(IntPtr pfnMethodToWrap, IntPtr pbSignature, int cbSignature);
public static IntPtr GetManagedThunkForUnmanagedMethodPtr (IntPtr pfnMethodToWrap, IntPtr pbSignature, int cbSignature);
[System.Obsolete("The GetManagedThunkForUnmanagedMethodPtr method has been deprecated and will be removed in a future release.", false)]
public static IntPtr GetManagedThunkForUnmanagedMethodPtr (IntPtr pfnMethodToWrap, IntPtr pbSignature, int cbSignature);
[System.Obsolete("The GetManagedThunkForUnmanagedMethodPtr method has been deprecated and will be removed in a future release.", false)]
[System.Security.SecurityCritical]
public static IntPtr GetManagedThunkForUnmanagedMethodPtr (IntPtr pfnMethodToWrap, IntPtr pbSignature, int cbSignature);
[System.Obsolete("This method has been deprecated")]
public static IntPtr GetManagedThunkForUnmanagedMethodPtr (IntPtr pfnMethodToWrap, IntPtr pbSignature, int cbSignature);
static member GetManagedThunkForUnmanagedMethodPtr : nativeint * nativeint * int -> nativeint
[<System.Obsolete("The GetManagedThunkForUnmanagedMethodPtr method has been deprecated and will be removed in a future release.", false)>]
static member GetManagedThunkForUnmanagedMethodPtr : nativeint * nativeint * int -> nativeint
[<System.Obsolete("The GetManagedThunkForUnmanagedMethodPtr method has been deprecated and will be removed in a future release.", false)>]
[<System.Security.SecurityCritical>]
static member GetManagedThunkForUnmanagedMethodPtr : nativeint * nativeint * int -> nativeint
[<System.Obsolete("This method has been deprecated")>]
static member GetManagedThunkForUnmanagedMethodPtr : nativeint * nativeint * int -> nativeint
Public Shared Function GetManagedThunkForUnmanagedMethodPtr (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 the function that will marshal a call from the pfnMethodToWrap parameter to unmanaged code.

특성

설명

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

적용 대상