<PackageReference Include="System.ClientModel" Version="1.5.1" />

ClientConnectionProvider

public abstract class ClientConnectionProvider
Abstract base class for managing client connections. Provides connection options for a specified client type and instance ID.
public ClientCache Subclients { get; }

Gets the cache for subclients to optimize performance by reusing client instances.

protected ClientConnectionProvider(int maxCacheSize)

Initializes a new instance of the ConnectionProvider class.

Retrieves all available client connections managed by this provider.

public abstract ClientConnection GetConnection(string connectionId)

Retrieves the connection settings associated with a given connection ID.