Xamarin.Forms.ImageSource.Cancel Method
Request a cancel of the ImageSource loading.

Syntax

public virtual System.Threading.Tasks.Task<bool> Cancel ()

Returns

An awaitable Task. The result of the Task indicates if the Task was successfully cancelled.

Remarks

Calling Cancel() multiple times will throw an exception.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0