ServiceBusSessionProcessor.OnSessionClosingAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Invokes the session close event handler when a session is about to be closed for processing. This method can be overriden to raise an event manually for testing purposes.
protected internal virtual System.Threading.Tasks.Task OnSessionClosingAsync (Azure.Messaging.ServiceBus.ProcessSessionEventArgs args);
abstract member OnSessionClosingAsync : Azure.Messaging.ServiceBus.ProcessSessionEventArgs -> System.Threading.Tasks.Task
override this.OnSessionClosingAsync : Azure.Messaging.ServiceBus.ProcessSessionEventArgs -> System.Threading.Tasks.Task
Protected Friend Overridable Function OnSessionClosingAsync (args As ProcessSessionEventArgs) As Task
Parameters
The event args containing information related to the session.
Returns
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET