Method UnsubscribeAsync UnsubscribeAsync() Unsubscribes from the messages. You do not need to call this if you are already unsubscribed. Declaration Task UnsubscribeAsync() Returns Type Description Task An awaitable task.