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)

'Declaration
Public Function CloseAsync As Task
'Usage
Dim instance As MessageClientEntity
Dim returnValue As Task

returnValue = instance.CloseAsync()

Return Value

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

Community Additions

Show: