ServiceBusReceivedMessage.SessionId Property


Gets the session identifier for a session-aware entity.

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

Property Value


The session identifier. Maximum length is 128 characters.


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