I've seen some older posts on this topic, but nothing up-to-date and related to the newer Service Bus and Azure Functions stacks, so thought I'd ask the question again.
On an Azure Function using a Service Bus Trigger, is there a way to access the Service Bus message properties? As far as I can see, it seems that only the message body string is passed into the Run method.
Similarly, on an Azure Function using a Service Bus output binding, is there a way to add message properties to the outbound Service Bus message? Again, as far as I can see, it seems the output binding will only accept a message body string.