QueueClient.RegisterSessionHandlerAsync Method

Definition

Overloads

RegisterSessionHandlerAsync(Type)

Asynchronously registers the session handler with specific type.

RegisterSessionHandlerAsync(Type, SessionHandlerOptions)

Asynchronously registers the session handler with specific type and handler options.

RegisterSessionHandlerAsync(Type)

Asynchronously registers the session handler with specific type.

public System.Threading.Tasks.Task RegisterSessionHandlerAsync (Type handlerType);
member this.RegisterSessionHandlerAsync : Type -> System.Threading.Tasks.Task
Public Function RegisterSessionHandlerAsync (handlerType As Type) As Task

Parameters

handlerType
Type

The handler type.

Returns

The task object representing the asynchronous operation.

Applies to

RegisterSessionHandlerAsync(Type, SessionHandlerOptions)

Asynchronously registers the session handler with specific type and handler options.

public System.Threading.Tasks.Task RegisterSessionHandlerAsync (Type handlerType, Microsoft.ServiceBus.Messaging.SessionHandlerOptions options);
member this.RegisterSessionHandlerAsync : Type * Microsoft.ServiceBus.Messaging.SessionHandlerOptions -> System.Threading.Tasks.Task
Public Function RegisterSessionHandlerAsync (handlerType As Type, options As SessionHandlerOptions) As Task

Parameters

handlerType
Type

The handler type.

options
SessionHandlerOptions

The session handler options.

Returns

The task object representing the asynchronous operation.

Applies to