Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ServiceBusMessage.SessionId 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:
- ServiceBusMessage.cs
- Source:
- ServiceBusMessage.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 or sets the session identifier for a session-aware entity.
public string SessionId { get; set; }
member this.SessionId : string with get, set
Public Property SessionId As String
Property Value
The session identifier. Maximum length is 128 characters.
Remarks
For session-aware entities, this application-defined value specifies the session affiliation of the message. Messages with the same session identifier are subject to summary locking and enable exact in-order processing and demultiplexing. For session-unaware entities, this value is ignored. See Message Sessions.
Applies to
Azure SDK for .NET
Feedback
Was this page helpful?
