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
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro