Share via


MessageSessionAsyncHandler.OnSessionLostAsync(Exception) Méthode

Définition

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

protected virtual System.Threading.Tasks.Task OnSessionLostAsync (Exception exception);
abstract member OnSessionLostAsync : Exception -> System.Threading.Tasks.Task
override this.OnSessionLostAsync : Exception -> System.Threading.Tasks.Task
Protected Overridable Function OnSessionLostAsync (exception As Exception) As Task

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.

S’applique à