Request

Response

    BaseHostDataProvider class

    Provides a base implementation of IHostDataProvider. Hosts can derive from this class and override its methods to supply customized data to the Connector UI when requested.

    public class BaseHostDataProvider : IHostDataProvider
    

    Public Members

    namedescription
    BaseHostDataProvider() The default constructor.
    ExchangeSelectionChangedEventAsync(…) Asynchronously handles the selection change event when the selected exchange on the Connector UI changes. The default implementation does nothing.
    GetExchangeNameAsync() Asynchronously retrieves the name of the exchange from the connector to display in the Connector UI. The default implementation returns "Exchange Name" as a placeholder.
    GetLatestConnectorVersionAsync() Invoked when the Connector UI checks for updates but does not find a matching entry in the connector version registry. This usually indicates that the running connector is not tracked by the official update channel, which is common for third-party developers maintaining their own connectors. Override this method to define custom logic for retrieving the latest connector version, such as fetching an installer from an alternative source. The returned version information enables the Connector UI to display update details before the user downloads and installs it.

    See Also