SerializableEntity Constructors

Definition

Overloads

Name Description
SerializableEntity(ISerializable, Boolean)

Creates an entity that serializes an object.

SerializableEntity(IntPtr, JniHandleOwnership)

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

SerializableEntity(ISerializable, Boolean)

Creates an entity that serializes an object.

[Android.Runtime.Register(".ctor", "(Ljava/io/Serializable;Z)V", "")]
public SerializableEntity(Java.IO.ISerializable? ser, bool bufferize);
[<Android.Runtime.Register(".ctor", "(Ljava/io/Serializable;Z)V", "")>]
new Org.Apache.Http.Entity.SerializableEntity : Java.IO.ISerializable * bool -> Org.Apache.Http.Entity.SerializableEntity

Parameters

ser
ISerializable

The object to serialize as entity content.

bufferize
Boolean

true to serialize the object into an in-memory buffer during construction.

Attributes

Exceptions

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

SerializableEntity(IntPtr, JniHandleOwnership)

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

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

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