/// <summary>
        /// Initializes a new instance of the <see cref="DotNetWorkQueue.Transport.SqlServer.Basic.QueryHandler.ReceiveMessageQueryHandler" /> class.
        /// </summary>
        /// <param name="readMessage">The read message.</param>
        /// <param name="buildDequeueCommand">The build dequeue command.</param>
        public ReceiveMessageQueryHandlerAsync(ReadMessage readMessage,
                                               BuildDequeueCommand buildDequeueCommand)
        {
            Guard.NotNull(() => readMessage, readMessage);
            Guard.NotNull(() => buildDequeueCommand, buildDequeueCommand);

            _readMessage         = readMessage;
            _buildDequeueCommand = buildDequeueCommand;
        }