MessageHeader<T>.MustUnderstand 屬性

定義

取得或設定值,這個值表示是否必須依照 SOAP 1.1/1.2 規格的說明來解讀標頭。

public:
 property bool MustUnderstand { bool get(); void set(bool value); };
public bool MustUnderstand { get; set; }
member this.MustUnderstand : bool with get, set
Public Property MustUnderstand As Boolean

屬性值

如果必須瞭解此標頭則為 true,否則為 false

備註

如果此屬性為 true,而且訊息接收者無法解譯訊息標頭,則不會處理該訊息且會擲回例外狀況 (Exception)。 如果此屬性為 false,接收者可以忽略訊息標頭並繼續處理。

適用於