ServiceBusSessionProcessor.OnSessionInitializingAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Appelle le gestionnaire d’événements d’ouverture de session lorsqu’une nouvelle session est sur le point d’être traitée. Cette méthode peut être remplacée pour déclencher manuellement un événement à des fins de test.
protected internal virtual System.Threading.Tasks.Task OnSessionInitializingAsync(Azure.Messaging.ServiceBus.ProcessSessionEventArgs args);
abstract member OnSessionInitializingAsync : Azure.Messaging.ServiceBus.ProcessSessionEventArgs -> System.Threading.Tasks.Task
override this.OnSessionInitializingAsync : Azure.Messaging.ServiceBus.ProcessSessionEventArgs -> System.Threading.Tasks.Task
Protected Friend Overridable Function OnSessionInitializingAsync (args As ProcessSessionEventArgs) As Task
Paramètres
Les arguments d’événement contenant des informations relatives à la session.
Retours
S’applique à
Azure SDK for .NET