ArcGIS Pro 2.6 API Reference Guide
GetExpirationMaxCount Method (StreamLayer)

ArcGIS.Desktop.Mapping Namespace > StreamLayer Class : GetExpirationMaxCount Method
Gets the expiration maximum feature count. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public ulong GetExpirationMaxCount()
Public Function GetExpirationMaxCount() As ULong

Return Value

The System.UInt64 indicating the ExpirationMaxCount
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Stream service data connection is null.
Remarks
When FeatureLayer.IsTrackAware is true, ExpirationMaxCount represents the maximum number of features that will be stored per track. Otherwise, it represents the maximum number of features.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

StreamLayer Class
StreamLayer Members