銷售: 1-800-867-1380

SessionId 屬性

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

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

public:
property String^ SessionId {
	String^ get ();
	void set (String^ value);
}

屬性值

型別: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.

本文對您有任何幫助嗎?
(剩餘 1500 個字元)
感謝您提供意見

社群新增項目

新增
顯示:
© 2014 Microsoft