Partager via


IMessageSessionAsyncHandler.OnCloseSessionAsync(MessageSession) Méthode

Définition

Déclenche un événement qui se produit lorsque la session a été fermée de manière asynchrone.

public System.Threading.Tasks.Task OnCloseSessionAsync (Microsoft.ServiceBus.Messaging.MessageSession session);
abstract member OnCloseSessionAsync : Microsoft.ServiceBus.Messaging.MessageSession -> System.Threading.Tasks.Task
Public Function OnCloseSessionAsync (session As MessageSession) As Task

Paramètres

session
MessageSession

Session fermée.

Retours

Objet de tâche représentant l'opération asynchrone.

S’applique à