IMessageSessionAsyncHandler Interface
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 an interface for the asynchronous handler for the message session.
public interface IMessageSessionAsyncHandler
type IMessageSessionAsyncHandler = interface
Public Interface IMessageSessionAsyncHandler
- Derived
Methods
OnCloseSessionAsync(MessageSession) |
Raises an event that occurs when the session has been asynchronously closed. |
OnMessageAsync(MessageSession, BrokeredMessage) |
Raises an event that occurs when a message has been brokered. |
OnSessionLostAsync(Exception) |
Raises an event that occurs when the session has been lost. |