Share via


IOutcomeReceiver.OnError(Object) Method

Definition

Called when the asynchronous operation fails.

[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

Parameters

error
Object

A subclass of Throwable with more details about the error that occurred.

Attributes

Remarks

Called when the asynchronous operation fails. The mode of failure is indicated by the Throwable passed as an argument to this method.

Java documentation for android.os.OutcomeReceiver.onError(E).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to