AbstractClientConnAdapter 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 |
|---|---|
| AbstractClientConnAdapter(IClientConnectionManager, IOperatedClientConnection) |
Creates a connection adapter that is initially not marked as reusable. |
| AbstractClientConnAdapter(IntPtr, JniHandleOwnership) |
Creates a managed instance that represents an existing Java object. |
AbstractClientConnAdapter(IClientConnectionManager, IOperatedClientConnection)
Creates a connection adapter that is initially not marked as reusable.
[Android.Runtime.Register(".ctor", "(Lorg/apache/http/conn/ClientConnectionManager;Lorg/apache/http/conn/OperatedClientConnection;)V", "")]
protected AbstractClientConnAdapter(Org.Apache.Http.Conn.IClientConnectionManager? mgr, Org.Apache.Http.Conn.IOperatedClientConnection? conn);
[<Android.Runtime.Register(".ctor", "(Lorg/apache/http/conn/ClientConnectionManager;Lorg/apache/http/conn/OperatedClientConnection;)V", "")>]
new Org.Apache.Http.Impl.Conn.AbstractClientConnAdapter : Org.Apache.Http.Conn.IClientConnectionManager * Org.Apache.Http.Conn.IOperatedClientConnection -> Org.Apache.Http.Impl.Conn.AbstractClientConnAdapter
Parameters
The connection manager, or null if there is none.
The connection to wrap, or null if there is none.
- 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
AbstractClientConnAdapter(IntPtr, JniHandleOwnership)
Creates a managed instance that represents an existing Java object.
protected AbstractClientConnAdapter(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.Impl.Conn.AbstractClientConnAdapter : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.Impl.Conn.AbstractClientConnAdapter
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.