IChannelAdapterRegistry.GetAdapter(String) Method
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.
Gets the adapter registered for the specified channelId.
public Microsoft.Agents.Builder.IChannelAdapter GetAdapter(string channelId);
abstract member GetAdapter : string -> Microsoft.Agents.Builder.IChannelAdapter
Public Function GetAdapter (channelId As String) As IChannelAdapter
Parameters
- channelId
- String
The channelId to resolve.
Returns
The adapter registered for the channel.
Exceptions
No adapter is registered for the channel.