ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / StreamLayer Class / IsStreamingConnectionOpen Property
Example Version

    IsStreamingConnectionOpen Property
    Gets whether this StreamLayer's streaming connection is open (started).
    Syntax
    public bool IsStreamingConnectionOpen {get;}
    Example
    Check the Stream Layer connection state
    if (!streamLayer.IsStreamingConnectionOpen)
      //Must be on QueuedTask!
      streamLayer.StartStreaming();
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also