Language

IChannelAdapterRegistry.GetAdapter(String) Method

Definition

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.

Applies to