共用方式為


ClientProtocolException Constructors

Definition

Overloads

ClientProtocolException()
ClientProtocolException(Throwable)
ClientProtocolException(String)
ClientProtocolException(IntPtr, JniHandleOwnership)

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

ClientProtocolException(String, Throwable)

ClientProtocolException()

[Android.Runtime.Register(".ctor", "()V", "")]
public ClientProtocolException ();
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

ClientProtocolException(Throwable)

[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")]
public ClientProtocolException (Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")>]
new Org.Apache.Http.Client.ClientProtocolException : Java.Lang.Throwable -> Org.Apache.Http.Client.ClientProtocolException

Parameters

cause
Throwable
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

ClientProtocolException(String)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public ClientProtocolException (string? s);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Org.Apache.Http.Client.ClientProtocolException : string -> Org.Apache.Http.Client.ClientProtocolException

Parameters

s
String
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

ClientProtocolException(IntPtr, JniHandleOwnership)

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

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

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

ClientProtocolException(String, Throwable)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")]
public ClientProtocolException (string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")>]
new Org.Apache.Http.Client.ClientProtocolException : string * Java.Lang.Throwable -> Org.Apache.Http.Client.ClientProtocolException

Parameters

message
String
cause
Throwable
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