Request

Response

    BaseHostDataProvider class

    Provides a default implementation of IHostDataProvider that returns placeholder values. Hosts that need to supply their own data should implement IHostDataProvider directly.

    public class BaseHostDataProvider : IHostDataProvider
    

    Public Members

    namedescription
    BaseHostDataProvider() The default constructor.
    ExchangeSelectionChangedEventAsync(…) Invoked when the user changes the selected exchange in the Connector UI. This method is reserved for future use and is not currently called.
    GetExchangeNameAsync() Retrieves the exchange name from the host application to display in the Connector UI. This method is called when the Connector UI navigates to the "Create Data Exchange" screen.
    GetLatestConnectorVersionAsync() Called when the Connector UI checks for updates but cannot find a matching entry in the connector version registry. This typically occurs when the running connector is not tracked by the official update channel, which is common for third-party developers who maintain their own connectors. Override this method to implement custom logic for retrieving the latest connector version, such as fetching an installer from an alternative source. The returned version information allows the Connector UI to display update details before the user downloads and installs the update.

    See Also