Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ServiceBusReceivedMessage.TransactionPartitionKey Property

Definition

Namespace:
Azure.Messaging.ServiceBus
Assembly:
Azure.Messaging.ServiceBus.dll
Package:
Azure.Messaging.ServiceBus v7.20.1
Package:
Azure.Messaging.ServiceBus v7.18.0-beta.1
Source:
ServiceBusReceivedMessage.cs
Source:
ServiceBusReceivedMessage.cs

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.

Gets a partition key for sending a message into an entity via a partitioned transfer queue.

public string TransactionPartitionKey { get; }
member this.TransactionPartitionKey : string
Public ReadOnly Property TransactionPartitionKey As String

Property Value

The partition key. Maximum length is 128 characters.

Remarks

If a message is sent via a transfer queue in the scope of a transaction, this value selects the transfer queue partition: This is functionally equivalent to PartitionKey and ensures that messages are kept together and in order as they are transferred. See Transfers and Send Via.

Applies to


Feedback

Was this page helpful?