Constructor HandlerInvoker
HandlerInvoker(IServiceScopeFactory)
Invokes a single message handler in its own DI scope. Shared by MessageDispatcher (for non-inbox handlers) and the inbox processor (for inbox-managed handlers with per-handler retry and timeout).
public HandlerInvoker(IServiceScopeFactory scopeFactory)
Parameters
scopeFactoryIServiceScopeFactory