Share via


MessageSessionHandler.IMessageSessionHandler.OnMessage Method

Definition

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

void IMessageSessionHandler.OnMessage (Microsoft.ServiceBus.Messaging.MessageSession session, Microsoft.ServiceBus.Messaging.BrokeredMessage message);
abstract member Microsoft.ServiceBus.Messaging.IMessageSessionHandler.OnMessage : Microsoft.ServiceBus.Messaging.MessageSession * Microsoft.ServiceBus.Messaging.BrokeredMessage -> unit
override this.Microsoft.ServiceBus.Messaging.IMessageSessionHandler.OnMessage : Microsoft.ServiceBus.Messaging.MessageSession * Microsoft.ServiceBus.Messaging.BrokeredMessage -> unit
Sub OnMessage (session As MessageSession, message As BrokeredMessage) Implements IMessageSessionHandler.OnMessage

Parameters

session
MessageSession

The message session.

message
BrokeredMessage

The brokered message.

Implements

Applies to