Compartilhar via


BasicStatusLine Constructors

Definition

Overloads

BasicStatusLine(IntPtr, JniHandleOwnership)

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

BasicStatusLine(ProtocolVersion, Int32, String)

Creates a new status line with the given version, status, and reason.

BasicStatusLine(IntPtr, JniHandleOwnership)

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

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

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

BasicStatusLine(ProtocolVersion, Int32, String)

Creates a new status line with the given version, status, and reason.

[Android.Runtime.Register(".ctor", "(Lorg/apache/http/ProtocolVersion;ILjava/lang/String;)V", "")]
public BasicStatusLine (Org.Apache.Http.ProtocolVersion? version, int statusCode, string? reasonPhrase);
[<Android.Runtime.Register(".ctor", "(Lorg/apache/http/ProtocolVersion;ILjava/lang/String;)V", "")>]
new Org.Apache.Http.Message.BasicStatusLine : Org.Apache.Http.ProtocolVersion * int * string -> Org.Apache.Http.Message.BasicStatusLine

Parameters

version
ProtocolVersion
statusCode
Int32
reasonPhrase
String
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