JavaPeerProxy.ShouldSkipActivation(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.
Determines whether the UCO constructor callback should skip activation for a JNI handle.
public static bool ShouldSkipActivation(IntPtr jniSelf);
static member ShouldSkipActivation : nativeint -> bool
Parameters
- jniSelf
-
IntPtr
nativeint
The JNI handle whose mapped peer is inspected.
Returns
true if an existing peer has neither activation flag, or the current thread's WithinNewObjectScope flag is set; otherwise, false.
Remarks
A peer marked Activatable or Replaceable is not by itself a reason to skip activation.