ProcessSessionMessageEventArgs 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 ProcessSessionMessageEventArgs class.
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)
Parameters
- message
- ServiceBusReceivedMessage
The current ServiceBusReceivedMessage.
- 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에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET