AgentApplicationOptions.ChannelAdapterRegistry Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Registry of adapters keyed by channelId. Lets the agent resolve the correct IChannelAdapter for a given channel — for example, to send proactive messages or continue a conversation — without knowing adapter types.
public Microsoft.Agents.Builder.Adapters.IChannelAdapterRegistry? ChannelAdapterRegistry { get; set; }
member this.ChannelAdapterRegistry : Microsoft.Agents.Builder.Adapters.IChannelAdapterRegistry with get, set
Public Property ChannelAdapterRegistry As IChannelAdapterRegistry
Property Value
Remarks
Populated from DI when available. If the DI-aware constructor receives an IChannelAdapter but no registry, it creates a registry using that adapter as the default. Programmatically constructed options must set this property or use APIs that accept an adapter explicitly.