匯出 (0) 列印
全部展開

SessionId 屬性

取得或設定工作階段的識別碼。

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

function get SessionId () : String
function set SessionId (value : String)

屬性值

型別:System..::..String
工作階段的識別碼。

例外狀況條件
ObjectDisposedException

在訊息處於已處置狀態時擲回。

A SessionId is a logical and lightweight way to correlate messages to each other. For example, the sender can set SessionId = "NewSessionId" of several messages as an indicator that these messages are related to each other. This SessionId does not represent any significance to the Service Bus and not checked by the service. It is for the receivers to consume if needed.

社群新增項目

新增
顯示:
© 2014 Microsoft