Condividi tramite


HttpEntityWrapper Constructors

Definition

Overloads

HttpEntityWrapper(IHttpEntity)

Creates a new entity wrapper.

HttpEntityWrapper(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

HttpEntityWrapper(IHttpEntity)

Creates a new entity wrapper.

[Android.Runtime.Register(".ctor", "(Lorg/apache/http/HttpEntity;)V", "")]
public HttpEntityWrapper (Org.Apache.Http.IHttpEntity? wrapped);
[<Android.Runtime.Register(".ctor", "(Lorg/apache/http/HttpEntity;)V", "")>]
new Org.Apache.Http.Entity.HttpEntityWrapper : Org.Apache.Http.IHttpEntity -> Org.Apache.Http.Entity.HttpEntityWrapper

Parameters

wrapped
IHttpEntity
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

HttpEntityWrapper(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected HttpEntityWrapper (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.Entity.HttpEntityWrapper : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.Entity.HttpEntityWrapper

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

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.

Applies to