语言

TunnelRefusedException 构造函数

定义

重载

名称 说明
TunnelRefusedException(IntPtr, JniHandleOwnership)

创建表示现有Java对象的托管实例。

TunnelRefusedException(String, IHttpResponse)

使用代理响应初始化异常。

TunnelRefusedException(IntPtr, JniHandleOwnership)

创建表示现有Java对象的托管实例。

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

参数

javaReference
IntPtr

nativeint

对Java对象的 JNI 引用。

transfer
JniHandleOwnership

指定 JNI 引用的所有权是否传输到此实例。

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

TunnelRefusedException(String, IHttpResponse)

使用代理响应初始化异常。

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Lorg/apache/http/HttpResponse;)V", "")]
public TunnelRefusedException(string? message, Org.Apache.Http.IHttpResponse? response);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Lorg/apache/http/HttpResponse;)V", "")>]
new Org.Apache.Http.Impl.Client.TunnelRefusedException : string * Org.Apache.Http.IHttpResponse -> Org.Apache.Http.Impl.Client.TunnelRefusedException

参数

message
String
response
IHttpResponse
属性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于