ServiceBusSessionProcessor.OnProcessSessionMessageAsync Method

Definition

Invokes the process message event handler after a message has been received. This method can be overriden to raise an event manually for testing purposes.

protected internal virtual System.Threading.Tasks.Task OnProcessSessionMessageAsync (Azure.Messaging.ServiceBus.ProcessSessionMessageEventArgs args);
abstract member OnProcessSessionMessageAsync : Azure.Messaging.ServiceBus.ProcessSessionMessageEventArgs -> System.Threading.Tasks.Task
override this.OnProcessSessionMessageAsync : Azure.Messaging.ServiceBus.ProcessSessionMessageEventArgs -> System.Threading.Tasks.Task
Protected Friend Overridable Function OnProcessSessionMessageAsync (args As ProcessSessionMessageEventArgs) As Task

Parameters

args
ProcessSessionMessageEventArgs

The event args containing information related to the session message.

Returns

Applies to