WebBodyFormatMessageProperty 類別

定義

為複合 Web 訊息編碼器儲存及擷取傳入和傳出訊息的訊息編碼格式。

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

備註

例如,這個屬性可讓複合 Web 訊息格式器了解複合 Web 訊息編碼器編碼訊息的方式。 WebBodyFormatMessageProperty 會實作 IMessageProperty。 實作這個介面的物件,會透過提供便捷鍵 (Access Key) 的 Properties 根據值新增至 Name

建構函式

WebBodyFormatMessageProperty(WebContentFormat)

使用指定的格式,初始化 WebBodyFormatMessageProperty 類別的新執行個體。

欄位

Name

傳回屬性名稱。

屬性

Format

取得訊息本文使用的格式。

方法

CreateCopy()

傳回目前屬性的目前執行個體。

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回建構時使用的屬性名稱和編碼格式。

適用於