語言

MessagePropertyDescription 類別

定義

代表由 MessagePropertyAttribute所指定的訊息屬性。

public ref class MessagePropertyDescription : System::ServiceModel::Description::MessagePartDescription
public class MessagePropertyDescription : System.ServiceModel.Description.MessagePartDescription
type MessagePropertyDescription = class
    inherit MessagePartDescription
Public Class MessagePropertyDescription
Inherits MessagePartDescription
繼承
MessagePropertyDescription

備註

該 MessagePropertyDescription 類別代表訊息契約中指定的訊息屬性,透過使用 System.ServiceModel.MessagePropertyAttribute。 訊息屬性用於在訊息上放置資訊,這些資訊可被訊息管線中其他物件使用,但這些物件並未與訊息序列化。

建構函式

名稱 Description
MessagePropertyDescription(String)

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

屬性

名稱 Description
HasProtectionLevel

會得到一個值,表示訊息部分是否有該 ProtectionLevel 屬性的值。

(繼承來源 MessagePartDescription)
Index

取得或設定訊息部分的索引。

(繼承來源 MessagePartDescription)
MemberInfo

取得或設定訊息部分的成員資訊。

(繼承來源 MessagePartDescription)
Multiple

取得或設定一個值,控制訊息部分是否能在訊息中出現多次。

(繼承來源 MessagePartDescription)
Name

取得或設定訊息部分的名稱。

(繼承來源 MessagePartDescription)
Namespace

取得或設定訊息部分的命名空間。

(繼承來源 MessagePartDescription)
ProtectionLevel

取得或設定 ProtectionLevel 訊息部分。

(繼承來源 MessagePartDescription)
Type

取得或設定訊息部分的類型。

(繼承來源 MessagePartDescription)

方法

名稱 Description
Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetType()

取得目前實例的 Type。

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於