ClientEntity.CloseAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sends a cleanup message asynchronously to Service Bus to signal the completion of the usage of an entity.
public System.Threading.Tasks.Task CloseAsync ();
abstract member CloseAsync : unit -> System.Threading.Tasks.Task
override this.CloseAsync : unit -> System.Threading.Tasks.Task
Public Function CloseAsync () As Task
Returns
If an exception occurs, this method performs an abort operation on the entity before throwing the exception.
Remarks
In the event of any exceptions, the method will perform an abort on the entity before throwing the exception.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET