MessageSessionAsyncHandler MessageSessionAsyncHandler MessageSessionAsyncHandler Class

Definition

Represents the asynchronous handler associated with the message session.

public abstract class MessageSessionAsyncHandler : Microsoft.ServiceBus.Messaging.IMessageSessionAsyncHandler
type MessageSessionAsyncHandler = class
    interface IMessageSessionAsyncHandler
Public MustInherit Class MessageSessionAsyncHandler
Implements IMessageSessionAsyncHandler
Inheritance
MessageSessionAsyncHandlerMessageSessionAsyncHandlerMessageSessionAsyncHandler
Implements

Constructors

MessageSessionAsyncHandler() MessageSessionAsyncHandler() MessageSessionAsyncHandler()

Methods

OnCloseSessionAsync(MessageSession) OnCloseSessionAsync(MessageSession) OnCloseSessionAsync(MessageSession)

Raises an event that occurs when the session has been asynchronously closed.

OnMessageAsync(MessageSession, BrokeredMessage) OnMessageAsync(MessageSession, BrokeredMessage) OnMessageAsync(MessageSession, BrokeredMessage)

Represents an event that occurs when the session has a brokered message.

OnSessionLostAsync(Exception) OnSessionLostAsync(Exception) OnSessionLostAsync(Exception)

Raises an event that occurs when the session has been lost.

Explicit Interface Implementations

IMessageSessionAsyncHandler.OnCloseSessionAsync(MessageSession) IMessageSessionAsyncHandler.OnCloseSessionAsync(MessageSession) IMessageSessionAsyncHandler.OnCloseSessionAsync(MessageSession)

Raises an event that occurs when the session has been asynchronously closed.

IMessageSessionAsyncHandler.OnMessageAsync(MessageSession, BrokeredMessage) IMessageSessionAsyncHandler.OnMessageAsync(MessageSession, BrokeredMessage) IMessageSessionAsyncHandler.OnMessageAsync(MessageSession, BrokeredMessage)

Represents an event that occurs when the session has a brokered message.

IMessageSessionAsyncHandler.OnSessionLostAsync(Exception) IMessageSessionAsyncHandler.OnSessionLostAsync(Exception) IMessageSessionAsyncHandler.OnSessionLostAsync(Exception)

Raises an event that occurs when the session has been lost.

Extension Methods

IsDefined(Object) IsDefined(Object) IsDefined(Object)

Determines if a certain property is defined or not.

IsNull(Object) IsNull(Object) IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

Applies to