Marshal.GetManagedThunkForUnmanagedMethodPtr(IntPtr, IntPtr, Int32) メソッド

定義

注意事項

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

マネージド コードからアンマネージ コードへの呼び出しをマーシャリングするランタイム生成関数へのポインターを取得します。

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

パラメーター

pfnMethodToWrap
IntPtr

nativeint

マーシャリングするメソッドへのポインター。

pbSignature
IntPtr

nativeint

メソッド シグネチャへのポインター。

cbSignature
Int32

pbSignatureのバイト数。

返品

IntPtr

nativeint

pfnMethodToWrap パラメーターからアンマネージ コードへの呼び出しをマーシャリングする関数へのポインター。

属性

注釈

GetManagedThunkForUnmanagedMethodPtr はコンパイラサポート専用に公開されています。

適用対象