Share via


ServiceBusProcessor.OnProcessMessageAsync(ProcessMessageEventArgs) Method

Definition

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

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

Parameters

args
ProcessMessageEventArgs

The event args containing information related to the message.

Returns

Applies to