Partilhar via


ProcessSessionMessageEventArgs Construtor

Definição

Inicializa uma nova instância da classe ProcessSessionMessageEventArgs.

public ProcessSessionMessageEventArgs (Azure.Messaging.ServiceBus.ServiceBusReceivedMessage message, Azure.Messaging.ServiceBus.ServiceBusSessionReceiver receiver, string identifier, System.Threading.CancellationToken cancellationToken);
new Azure.Messaging.ServiceBus.ProcessSessionMessageEventArgs : Azure.Messaging.ServiceBus.ServiceBusReceivedMessage * Azure.Messaging.ServiceBus.ServiceBusSessionReceiver * string * System.Threading.CancellationToken -> Azure.Messaging.ServiceBus.ProcessSessionMessageEventArgs
Public Sub New (message As ServiceBusReceivedMessage, receiver As ServiceBusSessionReceiver, identifier As String, cancellationToken As CancellationToken)

Parâmetros

receiver
ServiceBusSessionReceiver

O ServiceBusSessionReceiver que será usado para todos os métodos de liquidação para os argumentos.

identifier
String

O identificador do processador.

cancellationToken
CancellationToken

A instância do CancellationToken processador que será cancelada no caso de ser StopProcessingAsync(CancellationToken) chamada.

Aplica-se a