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 的訊息合約中指定的訊息屬性。 訊息屬性是用於將資訊放在訊息上,可以讓其他物件進一步用於訊息管線中,但是不會與訊息序列化。

建構函式

MessagePropertyDescription(String)

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

屬性

HasProtectionLevel

取得值,指出訊息部分是否具有 ProtectionLevel 屬性的值。

(繼承來源 MessagePartDescription)
Index

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

(繼承來源 MessagePartDescription)
MemberInfo

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

(繼承來源 MessagePartDescription)
Multiple

取得或設定值,控制訊息部分是否可以在訊息中發生一次以上。

(繼承來源 MessagePartDescription)
Name

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

(繼承來源 MessagePartDescription)
Namespace

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

(繼承來源 MessagePartDescription)
ProtectionLevel

取得或設定訊息部分的 ProtectionLevel

(繼承來源 MessagePartDescription)
Type

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

(繼承來源 MessagePartDescription)

方法

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於