Compartir a través de


MessageReceiver.OnMessageHandler Método

Definición

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

Parámetros

registerHandlerOptions
MessageHandlerOptions

Se aplica a