TrampolineBlockBase.GetExistingManagedDelegate(IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the existing managed delegate for a block if it wraps managed code.
protected static object GetExistingManagedDelegate(IntPtr block);
protected static object? GetExistingManagedDelegate(IntPtr block);
static member GetExistingManagedDelegate : nativeint -> obj
Parameters
- block
-
IntPtr
nativeint
The native block pointer.
Returns
The managed delegate if this is a managed block; otherwise, null.