ChannelAdapterRegistration(String, Type) Constructor
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.
Initializes a new instance of the ChannelAdapterRegistration class.
public ChannelAdapterRegistration(string channelId, Type adapterType);
new Microsoft.Agents.Builder.Adapters.ChannelAdapterRegistration : string * Type -> Microsoft.Agents.Builder.Adapters.ChannelAdapterRegistration
Public Sub New (channelId As String, adapterType As Type)
Parameters
- channelId
- String
The channelId this adapter handles (e.g., "msteams", "a2a").
- adapterType
- Type
The adapter CLR type. Must implement IChannelAdapter.