Share via


MessageSessionAsyncHandler.IMessageSessionAsyncHandler.OnSessionLostAsync Méthode

Définition

Déclenche un événement qui se produit lorsque la session a été perdue.

System.Threading.Tasks.Task IMessageSessionAsyncHandler.OnSessionLostAsync (Exception exception);
abstract member Microsoft.ServiceBus.Messaging.IMessageSessionAsyncHandler.OnSessionLostAsync : Exception -> System.Threading.Tasks.Task
override this.Microsoft.ServiceBus.Messaging.IMessageSessionAsyncHandler.OnSessionLostAsync : Exception -> System.Threading.Tasks.Task
Function OnSessionLostAsync (exception As Exception) As Task Implements IMessageSessionAsyncHandler.OnSessionLostAsync

Paramètres

exception
Exception

L’exception qui s’est produite a provoqué la perte de session.

Retours

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

Implémente

S’applique à