MessageReceiver.OnMessageHandler Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- callback
- Func<Message,CancellationToken,Task>