class_docstr: Interact with ServiceBusClient.
  
  This acts as a high level interface for getting ServiceBusSender and ServiceBusReceiver.
class_docstr_tok: ["Interact","with","ServiceBusClient",".","This","acts","as","a","high","level","interface","for","getting","ServiceBusSender","and","ServiceBusReceiver","."]
docstr: Receive a batch of messages at once in a specified Queue name.
  
  :param queue_name: The name of the queue name or a QueueProperties with name.
  :param max_message_count: Maximum number of messages in the batch.
  :param max_wait_time: Maximum time to wait in seconds for the first message to arrive.
docstr_tok: ["Receive","a","batch","of","messages","at","once","in","a","specified","Queue","name",".",":","param","queue_name",":","The","name","of","the","queue","name","or","a","QueueProperties","with","name",".",":","param","max_message_count",":","Maximum","number","of","messages","in","the","batch",".",":","param","max_wait_time",":","Maximum","time","to","wait","in","seconds","for","the","first","message","to","arrive","."]
code: def receive_message(
      self,
      queue_name,
      max_message_count: int | None = 1,
      max_wait_time: float | None = None,
  ):
      """
      Receive a batch of messages at once in a specified Queue name.
  
      :param queue_name: The name of the queue name or a QueueProperties with name.
      :param max_message_count: Maximum number of messages in the batch.
      :param max_wait_time: Maximum time to wait in seconds for the first message to arrive.
      """
      if queue_name is None:
          raise TypeError("Queue name cannot be None.")
  
      with self.get_conn() as service_bus_client, service_bus_client.get_queue_receiver(
          queue_name=queue_name
      ) as receiver, receiver:
          received_msgs = receiver.receive_messages(
              max_message_count=max_message_count,
              max_wait_time=max_wait_time,
          )
          for msg in received_msgs:
              self.log.info(msg)
              receiver.complete_message(msg)
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Any
  from azure.servicebus import ServiceBusClient, ServiceBusMessage, ServiceBusSender
  from azure.servicebus.management import QueueProperties, ServiceBusAdministrationClient
  from airflow.hooks.base import BaseHook
  from airflow.providers.microsoft.azure.utils import add_managed_identity_connection_widgets, get_field, get_sync_default_azure_credential
label_desc: Use image node_id 5 for calling the MessageHook obj's underlying member method code with example usage: obj.receive_message(queue_name, max_message_count, max_wait_time) without return types