protected async Task ExceptionHandler(ExceptionReceivedEventArgs args) { var requiresRecycle = args.Exception switch { MessageLockLostException _ => false, MessageTimeToLiveExpiredException _ => false, ServiceBusException { IsTransient : true } => false,
protected Task ExceptionHandler(ExceptionReceivedEventArgs args) { var activeDispatchCount = _messageReceiver.ActiveDispatchCount; var requiresRecycle = args.Exception switch { MessageLockLostException _ => false, MessageTimeToLiveExpiredException _ => false, ServiceBusException { IsTransient : true } => false,