您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

ClientEntity.CloseAsync Method

Definition

Sends a cleanup message asynchronously to Service Bus to signal the completion of the usage of an entity.

public System.Threading.Tasks.Task CloseAsync ();
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