Language

TunnelRefusedException Constructors

Definition

Overloads

Name Description
TunnelRefusedException(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

TunnelRefusedException(String, IHttpResponse)

Initializes the exception with the proxy response.

TunnelRefusedException(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

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

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

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

TunnelRefusedException(String, IHttpResponse)

Initializes the exception with the proxy response.

[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

Parameters

message
String
response
IHttpResponse
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