Android.OS.AsyncTask.OnCancelled Method

Syntax

[Android.Runtime.Register("onCancelled", "()V", "GetOnCancelledHandler")]
protected virtual void OnCancelled ()

Remarks

Applications should preferably override AsyncTask`3.onCancelled(Result). This method is invoked by the default implementation of AsyncTask`3.onCancelled(Result).

Runs on the UI thread after AsyncTask`3.cancel(boolean) is invoked and AsyncTask`3.doInBackground(Params...) has finished.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3