語言

HttpException 建構函式

定義

多載

名稱 Description
HttpException()

建立一個新的 HttpException,並附上 null 詳細訊息。

HttpException(String)

建立一個新的 HttpException,並附上指定的詳細訊息。

HttpException(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

HttpException(String, Throwable)

建立一個新的 HttpException,並附上指定的詳細訊息與原因。

HttpException()

建立一個新的 HttpException,並附上 null 詳細訊息。

[Android.Runtime.Register(".ctor", "()V", "")]
public HttpException();
屬性

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

HttpException(String)

建立一個新的 HttpException,並附上指定的詳細訊息。

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

參數

message
String
屬性

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

HttpException(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

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

參數

javaReference
IntPtr

nativeint

IntPtr,包含 Java Native Interface (JNI) 對象參考。

transfer
JniHandleOwnership

JniHandleOwnership,指出如何處理javaReference

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

HttpException(String, Throwable)

建立一個新的 HttpException,並附上指定的詳細訊息與原因。

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

參數

message
String
cause
Throwable
屬性

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於