Partager via


MessageReceiver.OnMessageHandler Méthode

Définition

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))

Paramètres

registerHandlerOptions
MessageHandlerOptions

S’applique à