SALES: 1-800-867-1380

SubscriptionClient.RegisterSessionHandlerFactoryAsync Method (IMessageSessionHandlerFactory, SessionHandlerOptions)

Asynchronously registers the handler factory for the client session.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public Task RegisterSessionHandlerFactoryAsync(
	IMessageSessionHandlerFactory factory,
	SessionHandlerOptions options
)

Parameters

factory
Type: Microsoft.ServiceBus.Messaging.IMessageSessionHandlerFactory
The interface for the handler factory associated with the message session.
options
Type: Microsoft.ServiceBus.Messaging.SessionHandlerOptions
The session handler options.

Return Value

Type: System.Threading.Tasks.Task
The task object representing the asynchronous operation.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft