MessageSessionHandler.OnMessage(MessageSession, BrokeredMessage) Method

Definition

Represents an event that occurs when the session has a brokered message.

protected abstract void OnMessage (Microsoft.ServiceBus.Messaging.MessageSession session, Microsoft.ServiceBus.Messaging.BrokeredMessage message);
abstract member OnMessage : Microsoft.ServiceBus.Messaging.MessageSession * Microsoft.ServiceBus.Messaging.BrokeredMessage -> unit
Protected MustOverride Sub OnMessage (session As MessageSession, message As BrokeredMessage)

Parameters

session
MessageSession

The message session.

message
BrokeredMessage

The brokered message.

Implements

Applies to