Share via


Marshal.GetManagedThunkForUnmanagedMethodPtr(IntPtr, IntPtr, Int32) Yöntem

Tanım

Dikkat

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

Yönetilen koddan yönetilmeyen koda yapılan çağrıyı sıralayan çalışma zamanı tarafından oluşturulan işleve yönelik bir işaretçi alır.

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

Parametreler

pfnMethodToWrap
IntPtr

nativeint

Hazırlama yönteminin işaretçisi.

pbSignature
IntPtr

nativeint

Yöntem imzası işaretçisi.

cbSignature
Int32

içindeki pbSignaturebayt sayısı.

Döndürülenler

IntPtr

nativeint

Parametresinden yönetilmeyen koda yapılan çağrıyı pfnMethodToWrap sıralayacak işlevin işaretçisi.

Öznitelikler

Açıklamalar

GetManagedThunkForUnmanagedMethodPtr yalnızca derleyici desteği için kullanıma sunulur.

Şunlara uygulanır