共用方式為


IMessageSessionAsyncHandler Interface

Definition

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