Exportera (0) Skriv ut
Visa allt
EN
Det här innehållet finns inte tillgängligt på ditt språk men här finns den engelska versionen,

BrokeredMessage.CorrelationId Property

Gets or sets the identifier of the correlation.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public string CorrelationId { get; set; }

Property Value

Type: System.String
The identifier of the correlation.

ExceptionCondition
ObjectDisposedException

Thrown if the message is in disposed state.

The CorrelationId is used for a faster way to apply filtering rules. For example, you could create a filter that would process all messages with a specific CorrelationId. The advantage of using the CorrelationId to SessionId is that CorrelationId is saved in a hash table, which speeds up the filtering process.

Gruppinnehåll

Lägg till
Visa:
© 2014 Microsoft