JavaPeerProxy.SetActivationPeerReference(IJavaPeerable, 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.
Sets an activation peer's borrowed JNI handle and Java identity hash.
public static void SetActivationPeerReference(Java.Interop.IJavaPeerable peer, IntPtr jniSelf);
static member SetActivationPeerReference : Java.Interop.IJavaPeerable * nativeint -> unit
Parameters
- peer
- IJavaPeerable
The managed peer whose reference and identity hash are to be set.
- jniSelf
-
IntPtr
nativeint
The JNI handle to associate with peer without creating another JNI reference.
Remarks
The reference is stored with type Invalid. This helper does not register the peer or create a global reference.