Language

ChannelAdapterRegistration Class

Definition

A single declarative channel-adapter registration: the channelId the adapter handles and the CLR adapter type that handles it. Built from ChannelAdapterAttribute (via the source-generated ChannelAdapterInitAssemblyAttribute) or supplied explicitly through dependency injection.

public sealed class ChannelAdapterRegistration
type ChannelAdapterRegistration = class
Public NotInheritable Class ChannelAdapterRegistration
Inheritance
ChannelAdapterRegistration

Constructors

Name Description
ChannelAdapterRegistration(String, Type)

Initializes a new instance of the ChannelAdapterRegistration class.

Properties

Name Description
AdapterType

The adapter CLR type. Must implement IChannelAdapter.

ChannelId

The channelId this adapter handles (e.g., "msteams", "a2a").

Applies to