NetworkException.ErrorNetworkChanged 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Android.Net.Http.NetworkExceptionErrorReason enum directly instead of this field.
錯誤代碼表示在請求處理過程中,網路設定改變。
[Android.Runtime.Register("ERROR_NETWORK_CHANGED", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Net.Http.NetworkExceptionErrorReason enum directly instead of this field.", true)]
public const Android.Net.Http.NetworkExceptionErrorReason ErrorNetworkChanged = 3;
[<Android.Runtime.Register("ERROR_NETWORK_CHANGED", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.Http.NetworkExceptionErrorReason enum directly instead of this field.", true)>]
val mutable ErrorNetworkChanged : Android.Net.Http.NetworkExceptionErrorReason
欄位值
Value = 3- 屬性
備註
錯誤代碼表示在請求處理過程中,網路設定改變。 當#getErrorCode回傳此代碼時,若使用 QUIC 協定,則可將此例外投射至 QuicException 以獲取更多資訊。
Java 文件 android.net.http.NetworkException.ERROR_NETWORK_CHANGED。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。