Marshal.GetManagedThunkForUnmanagedMethodPtr(IntPtr, IntPtr, Int32) Metoda

Definice

Upozornění

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

Získá ukazatel na funkci vygenerovanou modulem runtime, která zařadí volání ze spravovaného na nespravovaný kód.

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);
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
Public Shared Function GetManagedThunkForUnmanagedMethodPtr (pfnMethodToWrap As IntPtr, pbSignature As IntPtr, cbSignature As Integer) As IntPtr

Parametry

pfnMethodToWrap
IntPtr

nativeint

Ukazatel na metodu pro zařazování.

pbSignature
IntPtr

nativeint

Ukazatel na podpis metody.

cbSignature
Int32

Počet bajtů v pbSignature.

Návraty

IntPtr

nativeint

Ukazatel na funkci, která zařadí volání z parametru pfnMethodToWrap na nespravovaný kód.

Atributy

Poznámky

GetManagedThunkForUnmanagedMethodPtr je zpřístupněn pouze pro podporu kompilátoru.

Platí pro