Show / Hide Table of Contents

Method CancelLoad

CancelLoad()

Attempts to cancel loading the object.

Declaration
void CancelLoad()
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
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 300.1
.NET Windows100.13 - 300.1
.NET Android200.0 - 300.1
.NET iOS200.0 - 300.1
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8
In this article
Provide feedback
Back to top Copyright © 2025 Esri.