CorrelationDataMessageProperty 類別

定義

提供訊息屬性,這個屬性會在套用通訊協定時累積額外的相互關聯資訊,例如當透過傳入訊息從 MessageQuerySet 傳回資料時。

public ref class CorrelationDataMessageProperty : System::ServiceModel::Channels::IMessageProperty
public class CorrelationDataMessageProperty : System.ServiceModel.Channels.IMessageProperty
type CorrelationDataMessageProperty = class
    interface IMessageProperty
Public Class CorrelationDataMessageProperty
Implements IMessageProperty
繼承
CorrelationDataMessageProperty
實作

備註

計算將訊息與其他訊息建立關聯性的執行個體索引鍵時,CorrelationDataMessageProperty 所累積的相互關聯資料會擴大訊息內容。

建構函式

CorrelationDataMessageProperty()

初始化 CorrelationDataMessageProperty 類別的新執行個體。

屬性

Name

取得此訊息屬性 "CorrelationDataMessageProperty" 的名稱。

方法

Add(String, Func<String>)

將相互關聯資料提供者新增至屬性的提供者專屬字典。

AddData(Message, String, Func<String>)

將相互關聯資料加入至指定的訊息。

CreateCopy()

初始化並傳回新的 CorrelationDataMessageProperty 執行個體,該執行個體是目前的 CorrelationDataMessageProperty 執行個體的複本。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
Remove(String)

移除資料提供者專屬字典中的相互關聯資料提供者。

ToString()

傳回代表目前物件的字串。

(繼承來源 Object)
TryGet(Message, CorrelationDataMessageProperty)

嘗試從指定訊息的 Properties 取得 CorrelationDataMessageProperty

TryGet(MessageProperties, CorrelationDataMessageProperty)

嘗試從指定訊息的屬性取得 CorrelationDataMessageProperty

TryGetValue(String, String)

嘗試從資料提供者專屬字典擷取指定的相互關聯資料提供者。

適用於