ArcGIS Pro 2.8 API Reference Guide
GetExpirationMaxAge Method (RealtimeFeatureClass)

ArcGIS.Core.Data.Realtime Namespace > RealtimeFeatureClass Class : GetExpirationMaxAge Method
Gets the expiration maximum age for features. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public TimeSpan GetExpirationMaxAge()
Public Function GetExpirationMaxAge() As TimeSpan

Return Value

The System.TimeSpan indicating features older than this value are being removed.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks

When RealtimeFeatureClassDefinition.HasTrackIDField is true, it represents maximum age within each track. Previous observations that are older than the maximum expiration age comparing to the latest observation in the same track, get removed.

When RealtimeFeatureClassDefinition.HasTrackIDField is false, features older than the maximum expiration age, comparing to the current time, get removed.

Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

RealtimeFeatureClass Class
RealtimeFeatureClass Members