Specify the correct parameter for QueueClient.SendAsync() if text is of type string.
QueueClient.SendAsync()
text
string
Encoding.UTF8.GetBytes(text)
new Message(Encoding.UTF8.GetBytes(text))
new Message(text)
No parameter
Message supports byte[] only.
Message
byte[]