Condividi tramite


MessageReceiver.OnMessageHandler Method

Definition

protected virtual void OnMessageHandler (Microsoft.Azure.ServiceBus.MessageHandlerOptions registerHandlerOptions, Func<Microsoft.Azure.ServiceBus.Message,System.Threading.CancellationToken,System.Threading.Tasks.Task> callback);
abstract member OnMessageHandler : Microsoft.Azure.ServiceBus.MessageHandlerOptions * Func<Microsoft.Azure.ServiceBus.Message, System.Threading.CancellationToken, System.Threading.Tasks.Task> -> unit
override this.OnMessageHandler : Microsoft.Azure.ServiceBus.MessageHandlerOptions * Func<Microsoft.Azure.ServiceBus.Message, System.Threading.CancellationToken, System.Threading.Tasks.Task> -> unit
Protected Overridable Sub OnMessageHandler (registerHandlerOptions As MessageHandlerOptions, callback As Func(Of Message, CancellationToken, Task))

Parameters

registerHandlerOptions
MessageHandlerOptions

Applies to