Udostępnij za pośrednictwem


MessageSessionHandler Class

Definition

Represents the handler associated with the message session.

public abstract class MessageSessionHandler : Microsoft.ServiceBus.Messaging.IMessageSessionHandler
type MessageSessionHandler = class
    interface IMessageSessionHandler
Public MustInherit Class MessageSessionHandler
Implements IMessageSessionHandler
Inheritance
MessageSessionHandler
Implements

Constructors

MessageSessionHandler()

Methods

OnCloseSession(MessageSession)

Raises an event that occurs when the session has been closed.

OnMessage(MessageSession, BrokeredMessage)

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

OnSessionLost(Exception)

Raises an event that occurs when the session has been lost.

Explicit Interface Implementations

IMessageSessionHandler.OnCloseSession(MessageSession)

Raises an event that occurs when the session has been closed.

IMessageSessionHandler.OnMessage(MessageSession, BrokeredMessage)

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

IMessageSessionHandler.OnSessionLost(Exception)

Raises an event that occurs when the session has been lost.

Applies to