Method CancelLoad
CancelLoad()
Attempts to cancel loading the object.
Declaration
public void CancelLoad()
Implements
Remarks
If the object is currently Loading and cancellation succeeds, the shared load task is canceled and the status becomes FailedToLoad. If the object is not currently loading, this method is a no-op. Because a single load is shared by all callers, cancellation applies to every component awaiting it, not just the caller.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.14 - 200.8 |
| .NET | 100.14 - 300.1 |
| .NET Windows | 100.14 - 300.1 |
| .NET Android | 200.0 - 300.1 |
| .NET iOS | 200.0 - 300.1 |
| .NET Framework | 100.14 - 200.8 |
| Xamarin.Android | 100.14 - 100.15 |
| Xamarin.iOS | 100.14 - 100.15 |
| UWP | 100.14 - 200.8 |