Compartilhar via


MessageSessionAsyncHandler.IMessageSessionAsyncHandler.OnSessionLostAsync Método

Definição

Gera um evento que ocorre quando a sessão foi perdida.

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

Parâmetros

exception
Exception

Ocorreu a exceção que causou a sessão perdida.

Retornos

O objeto de tarefa que representa a operação assíncrona.

Implementações

Aplica-se a