Compartilhar via


IMessageSessionAsyncHandler.OnCloseSessionAsync(MessageSession) Método

Definição

Gera um evento que ocorre quando a sessão foi fechada de forma assíncrona.

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

Parâmetros

session
MessageSession

A sessão fechada.

Retornos

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

Aplica-se a