Share via


ServiceBusOptions.SessionClosingAsync Property

Definition

Optional handler that can be set to be notified when a session is about to be closed for processing.

public Func<Azure.Messaging.ServiceBus.ProcessSessionEventArgs,System.Threading.Tasks.Task> SessionClosingAsync { get; set; }
member this.SessionClosingAsync : Func<Azure.Messaging.ServiceBus.ProcessSessionEventArgs, System.Threading.Tasks.Task> with get, set
Public Property SessionClosingAsync As Func(Of ProcessSessionEventArgs, Task)

Property Value

Applies to