RequestWrapper 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| RequestWrapper(IHttpRequest) |
包装执行请求。 |
| RequestWrapper(IntPtr, JniHandleOwnership) |
创建表示现有Java对象的托管实例。 |
RequestWrapper(IHttpRequest)
包装执行请求。
[Android.Runtime.Register(".ctor", "(Lorg/apache/http/HttpRequest;)V", "")]
public RequestWrapper(Org.Apache.Http.IHttpRequest? request);
[<Android.Runtime.Register(".ctor", "(Lorg/apache/http/HttpRequest;)V", "")>]
new Org.Apache.Http.Impl.Client.RequestWrapper : Org.Apache.Http.IHttpRequest -> Org.Apache.Http.Impl.Client.RequestWrapper
参数
- request
- IHttpRequest
- 属性
注解
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
RequestWrapper(IntPtr, JniHandleOwnership)
创建表示现有Java对象的托管实例。
protected RequestWrapper(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.Impl.Client.RequestWrapper : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.Impl.Client.RequestWrapper
参数
- javaReference
-
IntPtr
nativeint
对Java对象的 JNI 引用。
- transfer
- JniHandleOwnership
指定 JNI 引用的所有权是否传输到此实例。
注解
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。