ServiceBusMessage.PartitionKey Property
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 or sets a partition key for sending a message to a partitioned entity.
public string PartitionKey { get; set; }
member this.PartitionKey : string with get, set
Public Property PartitionKey As String
The partition key. Maximum length is 128 characters.
For partitioned entities, setting this value enables assigning related messages to the same internal partition, so that submission sequence order is correctly recorded. The partition is chosen by a hash function over this value and cannot be chosen directly. For session-aware entities, the SessionId property overrides this value.
Prodotto | Versioni |
---|---|
Azure SDK for .NET | Latest, Preview |
Feedback su Azure SDK for .NET
Azure SDK for .NET è un progetto di open source. Selezionare un collegamento per fornire feedback: