Partager via


CursorLoader.OnCanceled(ICursor) Method

Definition

Called if the task was canceled before it was completed.

[Android.Runtime.Register("onCanceled", "(Landroid/database/Cursor;)V", "GetOnCanceled_Landroid_database_Cursor_Handler")]
public virtual void OnCanceled (Android.Database.ICursor? cursor);
[<Android.Runtime.Register("onCanceled", "(Landroid/database/Cursor;)V", "GetOnCanceled_Landroid_database_Cursor_Handler")>]
override this.OnCanceled : Android.Database.ICursor -> unit

Parameters

cursor
ICursor

The value that was returned by LoadInBackground(), or null if the task threw OperationCanceledException.

Attributes

Remarks

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