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

In This Topic
    IsStreamingConnectionOpen Property
    In This Topic
    Gets whether this StreamLayer's streaming connection is open (started).
    Syntax
    public bool IsStreamingConnectionOpen {get;}
    Public ReadOnly Property IsStreamingConnectionOpen As Boolean
    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