HttpResponseException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| HttpResponseException(Int32, String) | |
| HttpResponseException(IntPtr, JniHandleOwnership) |
用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。 |
HttpResponseException(Int32, String)
[Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "")]
public HttpResponseException(int statusCode, string? s);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "")>]
new Org.Apache.Http.Client.HttpResponseException : int * string -> Org.Apache.Http.Client.HttpResponseException
參數
- statusCode
- Int32
- s
- String
- 屬性
備註
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
適用於
HttpResponseException(IntPtr, JniHandleOwnership)
用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。
protected HttpResponseException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.Client.HttpResponseException : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.Client.HttpResponseException
參數
- transfer
- JniHandleOwnership
JniHandleOwnership,指出如何處理javaReference
備註
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。