ArcGIS Pro 2.7 API Reference Guide
GetExpirationMethod Method (StreamLayer)

ArcGIS.Desktop.Mapping Namespace > StreamLayer Class : GetExpirationMethod Method
Gets the current expiration method. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public FeatureExpirationMethod GetExpirationMethod()
Public Function GetExpirationMethod() As FeatureExpirationMethod

Return Value

Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Stream service data connection is null.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

StreamLayer Class
StreamLayer Members