ProcessMessageEventArgs 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 ProcessMessageEventArgs class.
public ProcessMessageEventArgs (Azure.Messaging.ServiceBus.ServiceBusReceivedMessage message, Azure.Messaging.ServiceBus.ServiceBusReceiver receiver, string identifier, System.Threading.CancellationToken cancellationToken);
new Azure.Messaging.ServiceBus.ProcessMessageEventArgs : Azure.Messaging.ServiceBus.ServiceBusReceivedMessage * Azure.Messaging.ServiceBus.ServiceBusReceiver * string * System.Threading.CancellationToken -> Azure.Messaging.ServiceBus.ProcessMessageEventArgs
Public Sub New (message As ServiceBusReceivedMessage, receiver As ServiceBusReceiver, identifier As String, cancellationToken As CancellationToken)
Parameters
- message
- ServiceBusReceivedMessage
The message to be processed.
- receiver
- ServiceBusReceiver
The receiver instance that can be used to perform message settlement.
- 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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET