Share via


QueueClient.RegisterSessionHandlerAsync Método

Definição

Sobrecargas

RegisterSessionHandlerAsync(Type)

Registra de forma assíncrona o manipulador de sessão com um tipo específico.

RegisterSessionHandlerAsync(Type, SessionHandlerOptions)

Registra de forma assíncrona o manipulador de sessão com opções específicas de tipo e manipulador.

RegisterSessionHandlerAsync(Type)

Registra de forma assíncrona o manipulador de sessão com um tipo específico.

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

Parâmetros

handlerType
Type

O tipo de manipulador.

Retornos

O objeto de tarefa que representa a operação assíncrona.

Aplica-se a

RegisterSessionHandlerAsync(Type, SessionHandlerOptions)

Registra de forma assíncrona o manipulador de sessão com opções específicas de tipo e manipulador.

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

Parâmetros

handlerType
Type

O tipo de manipulador.

options
SessionHandlerOptions

As opções do manipulador de sessão.

Retornos

O objeto de tarefa que representa a operação assíncrona.

Aplica-se a