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)
Syntax
'Declaration
Public Function CloseAsync As Task
'Usage
Dim instance As MessageClientEntity
Dim returnValue As Task
returnValue = instance.CloseAsync()
public Task CloseAsync()
public:
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
Reference
MessageClientEntity Class