ProcessSessionEventArgs Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ProcessSessionEventArgs class.
public ProcessSessionEventArgs (Azure.Messaging.ServiceBus.ServiceBusSessionReceiver receiver, string identifier, System.Threading.CancellationToken cancellationToken);
new Azure.Messaging.ServiceBus.ProcessSessionEventArgs : Azure.Messaging.ServiceBus.ServiceBusSessionReceiver * string * System.Threading.CancellationToken -> Azure.Messaging.ServiceBus.ProcessSessionEventArgs
Public Sub New (receiver As ServiceBusSessionReceiver, identifier As String, cancellationToken As CancellationToken)
Parameters
- receiver
- ServiceBusSessionReceiver
The ServiceBusSessionReceiver that will be used for all settlement methods for the args.
- identifier
- String
The identifier of the processor.
- cancellationToken
- CancellationToken
The processor's CancellationToken instance which will be cancelled in the event that StopProcessingAsync(CancellationToken) is called.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET