Share via


MessageSessionAsyncHandler.IMessageSessionAsyncHandler.OnCloseSessionAsync Método

Definição

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

System.Threading.Tasks.Task IMessageSessionAsyncHandler.OnCloseSessionAsync (Microsoft.ServiceBus.Messaging.MessageSession session);
abstract member Microsoft.ServiceBus.Messaging.IMessageSessionAsyncHandler.OnCloseSessionAsync : Microsoft.ServiceBus.Messaging.MessageSession -> System.Threading.Tasks.Task
override this.Microsoft.ServiceBus.Messaging.IMessageSessionAsyncHandler.OnCloseSessionAsync : Microsoft.ServiceBus.Messaging.MessageSession -> System.Threading.Tasks.Task
Function OnCloseSessionAsync (session As MessageSession) As Task Implements IMessageSessionAsyncHandler.OnCloseSessionAsync

Parâmetros

session
MessageSession

A sessão fechada.

Retornos

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

Implementações

Aplica-se a