I would like to know if it's possible to check if a MessageReceiver OnMessage or OnMessageAsync method has already been called before trying to call one of these methods, rather than handling the exception:
"The method 'OnMessage' or 'OnMessageAsync' has already been called."
afterwards without manually setting up a flag to do this. Since the service bus is aware of the status of these 'listeners', surely it must expose this info somewhere?