語言

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 在計算將訊息與其他訊息關聯的實例鍵時,會增強訊息內容。

建構函式

名稱 Description
CorrelationDataMessageProperty()

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

屬性

名稱 Description
Name

取得此訊息屬性的名稱:「CorrelationDataMessageProperty」。

方法

名稱 Description
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)

嘗試 CorrelationDataMessageProperty 從指定訊息的 Properties.

TryGet(MessageProperties, CorrelationDataMessageProperty)

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

TryGetValue(String, String)

嘗試從資料提供者私有字典中擷取指定的相關資料提供者。

適用於