SubscriptionClient.RegisterSessionHandlerFactory Method
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.
Overloads
RegisterSessionHandlerFactory(IMessageSessionAsyncHandlerFactory, SessionHandlerOptions) |
Registers the handler factory for the client session. |
RegisterSessionHandlerFactory(IMessageSessionHandlerFactory, SessionHandlerOptions) |
Registers the handler factory for the client session. |
RegisterSessionHandlerFactory(IMessageSessionAsyncHandlerFactory, SessionHandlerOptions)
Registers the handler factory for the client session.
public void RegisterSessionHandlerFactory (Microsoft.ServiceBus.Messaging.IMessageSessionAsyncHandlerFactory factory, Microsoft.ServiceBus.Messaging.SessionHandlerOptions options);
member this.RegisterSessionHandlerFactory : Microsoft.ServiceBus.Messaging.IMessageSessionAsyncHandlerFactory * Microsoft.ServiceBus.Messaging.SessionHandlerOptions -> unit
Public Sub RegisterSessionHandlerFactory (factory As IMessageSessionAsyncHandlerFactory, options As SessionHandlerOptions)
Parameters
The interface for the handler factory associated with the message session.
- options
- SessionHandlerOptions
The session handler options.
Applies to
RegisterSessionHandlerFactory(IMessageSessionHandlerFactory, SessionHandlerOptions)
Registers the handler factory for the client session.
public void RegisterSessionHandlerFactory (Microsoft.ServiceBus.Messaging.IMessageSessionHandlerFactory factory, Microsoft.ServiceBus.Messaging.SessionHandlerOptions options);
member this.RegisterSessionHandlerFactory : Microsoft.ServiceBus.Messaging.IMessageSessionHandlerFactory * Microsoft.ServiceBus.Messaging.SessionHandlerOptions -> unit
Public Sub RegisterSessionHandlerFactory (factory As IMessageSessionHandlerFactory, options As SessionHandlerOptions)
Parameters
- factory
- IMessageSessionHandlerFactory
The interface for the handler factory associated with the message session.
- options
- SessionHandlerOptions
The session handler options.