JniRuntime.ReflectionJniValueManager.ConstructPeerCore 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.
Initializes peer reference ownership, identity hash, and runtime registration.
protected override void ConstructPeerCore(Java.Interop.IJavaPeerable peer, ref Java.Interop.JniObjectReference reference, Java.Interop.JniObjectReferenceOptions options);
override this.ConstructPeerCore : Java.Interop.IJavaPeerable * JniObjectReference * Java.Interop.JniObjectReferenceOptions -> unit
Parameters
- peer
- IJavaPeerable
The non-null managed peer being initialized.
- reference
- JniObjectReference
The source reference subject to the supplied transfer options.
- options
- JniObjectReferenceOptions
Reference-copy, source-disposal, and registration flags.
Remarks
None permits deferred initialization when the peer has no reference. Existing activation peers can reuse their assigned reference.