匯出 (0) 列印
全部展開

CorrelationId 屬性

取得或設定相互關聯的識別碼。

命名空間:  Microsoft.ServiceBus.Messaging
組件:  Microsoft.ServiceBus (在 Microsoft.ServiceBus.dll 中)

public string CorrelationId { get; set; }

屬性值

型別:System..::..String
相互關聯識別碼。

例外狀況條件
ObjectDisposedException

如果訊息處於已處置的狀態。

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.

社群新增項目

新增
顯示:
© 2014 Microsoft