共用方式為


Message.SessionId Property

Definition

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