ArcGIS Pro 3.8 API Reference Guide
ArcGIS.Core.Data.Realtime Namespace / RealtimeDatastore Class / RealtimeDatastore Constructor
A valid RealtimeServiceConnectionProperties object which has the URI to a real-time service such as stream service. In case the service is not a public, the username and password properties are also expected to be set.

In This Topic
    RealtimeDatastore Constructor
    In This Topic
    Opens a real-time datastore with a RealtimeServiceConnectionProperties. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax

    Parameters

    connectionProperties
    A valid RealtimeServiceConnectionProperties object which has the URI to a real-time service such as stream service. In case the service is not a public, the username and password properties are also expected to be set.
    Exceptions
    ExceptionDescription
    The information used to connect to the a real-time service is invalid.
    The URL is not provided.
    This method or property must be called within the lambda passed to QueuedTask.Run.
    connectionProperties
    Represents a geodatabase not found or not opened exception.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also