ServiceBusSessionProcessor.OnSessionInitializingAsync 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 open event handler when a new session is about to be processed. This method can be overriden to raise an event manually for testing purposes.
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
Parameters
The event args containing information related to the session.
Returns
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET