Edit

Share via


MsmqIntegrationMessageProperty.CorrelationId Property

Definition

Gets or sets the message identifier used by acknowledgment, report, and response messages to reference the original message.

public:
 property System::String ^ CorrelationId { System::String ^ get(); void set(System::String ^ value); };
public string CorrelationId { get; set; }
member this.CorrelationId : string with get, set
Public Property CorrelationId As String

Property Value

The message identifier used by acknowledgment, report, and response messages to reference the original message.

Remarks

When Message Queuing (MSMQ) generates an acknowledgment or report message, it uses the correlation identifier to specify the message identifier of the original message. In this manner, the correlation identifier ties the report or acknowledgment message to the original message.

The sending application can then match the acknowledgment or report with the original message by using the correlation identifier to verify the original message's identity.

Applies to