WorkflowServiceAttributes.ValidateMustUnderstand 屬性

定義

取得或設定值,這個值會指定系統或應用程式是否會強制執行 SOAP MustUnderstand 標頭處理。

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

屬性值

如果系統要執行 SOAP 標頭 true 處理,則為 MustUnderstand,否則為 false,表示應用程式會執行這項處理。

範例

下列範例將示範如何存取 ValidateMustUnderstand 屬性。

WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();
attributes.ValidateMustUnderstand = false;
Dim attributes As New WorkflowServiceAttributes()
attributes.ValidateMustUnderstand = False

備註

預設值是 true

適用於