Language

ChannelAdapterRegistration(String, Type) Constructor

Definition

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.

Applies to