Udostępnij za pośrednictwem


ProtocolVersion Constructors

Definition

Overloads

ProtocolVersion(IntPtr, JniHandleOwnership)

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

ProtocolVersion(String, Int32, Int32)

Create a protocol version designator.

ProtocolVersion(IntPtr, JniHandleOwnership)

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

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

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

ProtocolVersion(String, Int32, Int32)

Create a protocol version designator.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;II)V", "")]
public ProtocolVersion (string? protocol, int major, int minor);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;II)V", "")>]
new Org.Apache.Http.ProtocolVersion : string * int * int -> Org.Apache.Http.ProtocolVersion

Parameters

protocol
String
major
Int32
minor
Int32
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