Share via


CallbackContextMessageProperty 類別

定義

表示使用支援內容交換通訊協定的通道時,wsc:CallbackContext 訊息標頭的內容。

public ref class CallbackContextMessageProperty : System::ServiceModel::Channels::IMessageProperty
[System.Serializable]
public class CallbackContextMessageProperty : System.ServiceModel.Channels.IMessageProperty
[<System.Serializable>]
type CallbackContextMessageProperty = class
    interface IMessageProperty
Public Class CallbackContextMessageProperty
Implements IMessageProperty
繼承
CallbackContextMessageProperty
屬性
實作

備註

允許長期服務之間進行雙重通訊的內容交換通訊協定。

建構函式

CallbackContextMessageProperty(EndpointAddress)

使用指定的 CallbackContextMessageProperty 初始化 EndpointAddress 類別的新執行個體。

CallbackContextMessageProperty(EndpointAddress, IDictionary<String,String>)

使用包含內容資訊的指定 CallbackContextMessagePropertyEndpointAddress,初始化 IDictionary<TKey,TValue> 類別的新執行個體。

CallbackContextMessageProperty(IDictionary<String,String>)

使用指定的內容初始化 CallbackContextMessageProperty 類別的新執行個體。

CallbackContextMessageProperty(String, IDictionary<String,String>)

使用指定接聽位址和內容資訊,初始化 CallbackContextMessageProperty 類別的新執行個體。

CallbackContextMessageProperty(Uri, IDictionary<String,String>)

使用指定接聽位址和內容資訊,初始化 CallbackContextMessageProperty 類別的新執行個體。

屬性

CallbackAddress

取得回呼位址。

Context

取得與 CallbackContextMessageProperty 相關聯的內容。

Name

取得 CallbackContextMessageProperty 類別的屬性名稱。

方法

AddOrReplaceInMessage(Message)

新增或取代指定訊息內目前的 CallbackContextMessageProperty 執行個體。

AddOrReplaceInMessageProperties(MessageProperties)

新增或取代指定訊息屬性集合內目前的 CallbackContextMessageProperty 執行個體。

CreateCallbackAddress(Uri)

將用戶端的 listenAddress 及其內容合併為會傳送至服務的單一回呼位址。

CreateCopy()

建立 CallbackContextMessageProperty 執行個體的複本。

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetListenAddressAndContext(EndpointAddress, IDictionary<String,String>)

CallbackContextMessageProperty 執行個體取得接聽位址和內容資料。

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

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

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

嘗試從指定的訊息取得 CallbackContextMessageProperty 執行個體。

TryGet(MessageProperties, CallbackContextMessageProperty)

嘗試從指定的訊息屬性取得 CallbackContextMessageProperty 執行個體。

適用於