Show / Hide Table of Contents

Method PurgeAllAsync

PurgeAllAsync()

Removes all dynamic entity observations from the in-memory data cache as well as from the map or scene.

Declaration
public Task PurgeAllAsync()
Returns
Type Description
System.Threading.Tasks.Task

A task that represents the asynchronous purge operation.

Remarks

Sometimes, a large number of dynamic entity observations can crowd the display and make information hard to interpret. Use this method to clear (purge) all dynamic entity observations to remove stale information and limit the amount of memory consumed. This does not disconnect you from the service, so new dynamic entity observations continue to display as they become available.

The following DynamicEntityDataSource events will not be raised due to a call to this method:

  • DynamicEntityObservationPurged
  • DynamicEntityPurged

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.3 - 200.7
.NET200.3 - 200.7
.NET Windows200.3 - 200.7
.NET Android200.3 - 200.7
.NET iOS200.3 - 200.7
.NET Framework200.3 - 200.7
UWP200.3 - 200.7
In This Article
Back to top Copyright © 2022 Esri.