Share via


IMessageSessionHandler.OnCloseSession(MessageSession) Method

Definition

Raises an event that occurs when an active session closes.

public void OnCloseSession (Microsoft.ServiceBus.Messaging.MessageSession session);
abstract member OnCloseSession : Microsoft.ServiceBus.Messaging.MessageSession -> unit
Public Sub OnCloseSession (session As MessageSession)

Parameters

session
MessageSession

The closing session.

Applies to