BasicPoolEntryRef 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
| Name | Description |
|---|---|
| BasicPoolEntryRef(BasicPoolEntry, ReferenceQueue) |
Creates a weak reference to a pool entry. |
| BasicPoolEntryRef(IntPtr, JniHandleOwnership) |
Creates a managed instance that represents an existing Java object. |
BasicPoolEntryRef(BasicPoolEntry, ReferenceQueue)
Creates a weak reference to a pool entry.
[Android.Runtime.Register(".ctor", "(Lorg/apache/http/impl/conn/tsccm/BasicPoolEntry;Ljava/lang/ref/ReferenceQueue;)V", "")]
public BasicPoolEntryRef(Org.Apache.Http.Impl.Conn.Tsccm.BasicPoolEntry? entry, Java.Lang.Ref.ReferenceQueue? queue);
[<Android.Runtime.Register(".ctor", "(Lorg/apache/http/impl/conn/tsccm/BasicPoolEntry;Ljava/lang/ref/ReferenceQueue;)V", "")>]
new Org.Apache.Http.Impl.Conn.Tsccm.BasicPoolEntryRef : Org.Apache.Http.Impl.Conn.Tsccm.BasicPoolEntry * Java.Lang.Ref.ReferenceQueue -> Org.Apache.Http.Impl.Conn.Tsccm.BasicPoolEntryRef
Parameters
- entry
- BasicPoolEntry
The pool entry to reference.
- queue
- ReferenceQueue
The queue that receives this reference when its entry is collected, or null.
- Attributes
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.
Applies to
BasicPoolEntryRef(IntPtr, JniHandleOwnership)
Creates a managed instance that represents an existing Java object.
protected BasicPoolEntryRef(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.Impl.Conn.Tsccm.BasicPoolEntryRef : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.Impl.Conn.Tsccm.BasicPoolEntryRef
Parameters
- javaReference
-
IntPtr
nativeint
A JNI reference to the Java object.
- transfer
- JniHandleOwnership
Specifies whether ownership of the JNI reference transfers to this instance.
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.