Constructor ChannelHandlerRegistration
ChannelHandlerRegistration(Type, Type, bool, string?, IReadOnlyList<string>)
Describes a handler registered on a specific consume channel for a specific message type.
public ChannelHandlerRegistration(Type MessageType, Type HandlerType, bool IsInbox, string? InboxKey, IReadOnlyList<string> LegacyKeys)
Parameters
MessageTypeTypeCLR type of the message this handler processes.
HandlerTypeTypeCLR type of the handler class to resolve from DI.
IsInboxboolWhether this handler is managed by the inbox processor.
InboxKeystringStable key for inbox deduplication. Required when
IsInboxis true.LegacyKeysIReadOnlyList<string>Previous handler keys that should still be matched when processing existing inbox entries during a handler rename transition. Legacy keys are never used to create new inbox entries.
ChannelHandlerRegistration(Type, Type, bool, string?)
Creates a registration without legacy keys.
public ChannelHandlerRegistration(Type MessageType, Type HandlerType, bool IsInbox, string? InboxKey)