NetworkException.IsImmediatelyRetryable Propiedad
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Devuelve true si volver a intentar esta solicitud inmediatamente podría realizarse correctamente; de lo contrario, false.
public abstract bool IsImmediatelyRetryable { [Android.Runtime.Register("isImmediatelyRetryable", "()Z", "GetIsImmediatelyRetryableHandler", ApiSince=34)] get; }
[<get: Android.Runtime.Register("isImmediatelyRetryable", "()Z", "GetIsImmediatelyRetryableHandler", ApiSince=34)>]
member this.IsImmediatelyRetryable : bool
Valor de propiedad
True si volver a intentar esta solicitud inmediatamente podría realizarse correctamente; de lo contrario, false.
- Atributos
Comentarios
Devuelve true si volver a intentar esta solicitud inmediatamente podría realizarse correctamente; de lo contrario, false. Por ejemplo, devuelve true cuando getErrorCode() devuelve ERROR_NETWORK_CHANGED porque probar la solicitud podría realizarse correctamente con la nueva configuración de red, pero false cuando getErrorCode() devuelve ERROR_INTERNET_DISCONNECTED porque reintentar la solicitud inmediatamente se producirá el mismo error (en su lugar, se debe retrasar el reintento hasta que el dispositivo recupere la conectividad de red).
Referencia de Android para android.net.http.NetworkException.isImmediatelyRetryable.
Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.