SALES: 1-800-867-1380

SubscriptionClient.RegisterSessionHandlerAsync Method (Type, SessionHandlerOptions)

Asynchronously registers the handler for the client session.

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

public Task RegisterSessionHandlerAsync(
	Type handlerType,
	SessionHandlerOptions options
)

Parameters

handlerType
Type: System.Type
The type of the handler.
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