MessageSessionHandler Class
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.
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
Azure SDK for .NET