語言

NetworkException.ErrorNetworkChanged 欄位

定義

警告

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 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於