BasicClientCookie2 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 |
|---|---|
| BasicClientCookie2(IntPtr, JniHandleOwnership) |
Initializes a managed wrapper for an existing Java cookie implementation. |
| BasicClientCookie2(String, String) |
Initializes a new instance of the BasicClientCookie2 class. |
BasicClientCookie2(IntPtr, JniHandleOwnership)
Initializes a managed wrapper for an existing Java cookie implementation.
protected BasicClientCookie2(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.Impl.Cookie.BasicClientCookie2 : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.Impl.Cookie.BasicClientCookie2
Parameters
- javaReference
-
IntPtr
nativeint
A handle to the existing Java peer.
- transfer
- JniHandleOwnership
Specifies whether this wrapper assumes ownership of the Java handle.
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
BasicClientCookie2(String, String)
Initializes a new instance of the BasicClientCookie2 class.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")]
public BasicClientCookie2(string? name, string? value);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")>]
new Org.Apache.Http.Impl.Cookie.BasicClientCookie2 : string * string -> Org.Apache.Http.Impl.Cookie.BasicClientCookie2
Parameters
- name
- String
The name of the RFC 2965 cookie.
- value
- String
The initial value of the RFC 2965 cookie.
- 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.