MessageClientEntity.CloseAsync Method

Asynchronously closes the message client entity and puts its status into a closed state.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)


Public Function CloseAsync As Task
Dim instance As MessageClientEntity
Dim returnValue As Task

returnValue = instance.CloseAsync()
public Task CloseAsync()
virtual Task^ CloseAsync() sealed
abstract CloseAsync : unit -> Task 
override CloseAsync : unit -> Task 
public final function CloseAsync() : Task

Return Value

Type: System.Threading.Tasks.Task
The asynchronous operation.

See Also


MessageClientEntity Class

Microsoft.ServiceBus.Messaging Namespace