Compartir a través de


ProcessSessionMessageEventArgs Constructor

Definición

Inicializa una nueva instancia de la clase 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

ServiceBusSessionReceiver que se usará para todos los métodos de liquidación para los argumentos.

identifier
String

Identificador del procesador.

cancellationToken
CancellationToken

Instancia del CancellationToken procesador que se cancelará en caso de que StopProcessingAsync(CancellationToken) se llame a .

Se aplica a