SubscriptionClient.RegisterSessionHandler Method

Definition

Overloads

RegisterSessionHandler(Type)

Registers the handler for the client session.

RegisterSessionHandler(Type, SessionHandlerOptions)

Registers the handler for the client session.

RegisterSessionHandler(Type)

Registers the handler for the client session.

public void RegisterSessionHandler (Type handlerType);
member this.RegisterSessionHandler : Type -> unit
Public Sub RegisterSessionHandler (handlerType As Type)

Parameters

handlerType
Type

The type of the handler.

Applies to

RegisterSessionHandler(Type, SessionHandlerOptions)

Registers the handler for the client session.

public void RegisterSessionHandler (Type handlerType, Microsoft.ServiceBus.Messaging.SessionHandlerOptions options);
member this.RegisterSessionHandler : Type * Microsoft.ServiceBus.Messaging.SessionHandlerOptions -> unit
Public Sub RegisterSessionHandler (handlerType As Type, options As SessionHandlerOptions)

Parameters

handlerType
Type

The type of the handler.

options
SessionHandlerOptions

The session handler options.

Applies to