IOutcomeReceiver.OnError(Object) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Appelé lorsque l’opération asynchrone échoue.
[Android.Runtime.Register("onError", "(Ljava/lang/Throwable;)V", "GetOnError_Ljava_lang_Throwable_Handler:Android.OS.IOutcomeReceiver, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)]
public virtual void OnError(Java.Lang.Object error);
[<Android.Runtime.Register("onError", "(Ljava/lang/Throwable;)V", "GetOnError_Ljava_lang_Throwable_Handler:Android.OS.IOutcomeReceiver, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)>]
abstract member OnError : Java.Lang.Object -> unit
override this.OnError : Java.Lang.Object -> unit
Paramètres
- error
- Object
Sous-classe contenant plus de Throwable détails sur l’erreur qui s’est produite.
- Attributs
Remarques
Appelé lorsque l’opération asynchrone échoue. Le mode d’échec est indiqué par l’argument Throwable passé à cette méthode.
Java documentation pour android.os.OutcomeReceiver.onError(E).
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.