Android.OS.AsyncTask.IsCancelled Property
Returns true if this task was cancelled before it completed normally.

Syntax

[get: Android.Runtime.Register("isCancelled", "()Z", "GetIsCancelledHandler")]
public bool IsCancelled { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Returns true if this task was cancelled before it completed normally. If you are calling AsyncTask`3.cancel(boolean) on the task, the value returned by this method should be checked periodically from AsyncTask`3.doInBackground(Params...) to end the task as soon as possible.

[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