AbstractPooledConnAdapter 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 |
|---|---|
| AbstractPooledConnAdapter(IClientConnectionManager, AbstractPoolEntry) |
Creates a managed connection adapter for the supplied pool entry. |
| AbstractPooledConnAdapter(IntPtr, JniHandleOwnership) |
Creates a managed instance that represents an existing Java object. |
AbstractPooledConnAdapter(IClientConnectionManager, AbstractPoolEntry)
Creates a managed connection adapter for the supplied pool entry.
[Android.Runtime.Register(".ctor", "(Lorg/apache/http/conn/ClientConnectionManager;Lorg/apache/http/impl/conn/AbstractPoolEntry;)V", "")]
protected AbstractPooledConnAdapter(Org.Apache.Http.Conn.IClientConnectionManager? manager, Org.Apache.Http.Impl.Conn.AbstractPoolEntry? entry);
[<Android.Runtime.Register(".ctor", "(Lorg/apache/http/conn/ClientConnectionManager;Lorg/apache/http/impl/conn/AbstractPoolEntry;)V", "")>]
new Org.Apache.Http.Impl.Conn.AbstractPooledConnAdapter : Org.Apache.Http.Conn.IClientConnectionManager * Org.Apache.Http.Impl.Conn.AbstractPoolEntry -> Org.Apache.Http.Impl.Conn.AbstractPooledConnAdapter
Parameters
- manager
- IClientConnectionManager
The manager that receives connection release calls.
- entry
- AbstractPoolEntry
The pool entry whose underlying connection is wrapped.
- 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
AbstractPooledConnAdapter(IntPtr, JniHandleOwnership)
Creates a managed instance that represents an existing Java object.
protected AbstractPooledConnAdapter(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.Impl.Conn.AbstractPooledConnAdapter : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.Impl.Conn.AbstractPooledConnAdapter
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.