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. |
Applies to
Azure SDK for .NET
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla