AtomicStampedReference Constructors
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.
Overloads
AtomicStampedReference(Object, Int32) |
Creates a new |
AtomicStampedReference(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
AtomicStampedReference(Object, Int32)
Creates a new AtomicStampedReference
with the given
initial values.
[Android.Runtime.Register(".ctor", "(Ljava/lang/Object;I)V", "")]
public AtomicStampedReference (Java.Lang.Object? initialRef, int initialStamp);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Object;I)V", "")>]
new Java.Util.Concurrent.Atomic.AtomicStampedReference : Java.Lang.Object * int -> Java.Util.Concurrent.Atomic.AtomicStampedReference
Parameters
- initialRef
- Object
the initial reference
- initialStamp
- Int32
the initial stamp
- Attributes
Remarks
Creates a new AtomicStampedReference
with the given initial values.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
AtomicStampedReference(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected AtomicStampedReference (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Concurrent.Atomic.AtomicStampedReference : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Concurrent.Atomic.AtomicStampedReference
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.