Share via


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 ();
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