Table of Contents

Interface IMessageSessionAsyncHandlerFactory

Namespace
Microsoft.ServiceBus.Messaging
Assembly
Microsoft.ServiceBus.dll

Represents an interface for the handler factory associated with the message session.

public interface IMessageSessionAsyncHandlerFactory

Methods

CreateInstance(MessageSession, BrokeredMessage)

Creates an instance of the handler factory.

IMessageSessionAsyncHandler CreateInstance(MessageSession session, BrokeredMessage message)

Parameters

session MessageSession

The message session.

message BrokeredMessage

The message.

Returns

IMessageSessionAsyncHandler

The created instance.

DisposeInstance(IMessageSessionAsyncHandler)

Releases the resources associated with the handler factory instance.

void DisposeInstance(IMessageSessionAsyncHandler handler)

Parameters

handler IMessageSessionAsyncHandler

The handler instance.