XMLTask.FailOnDifference 屬性

定義

取得或設定布林值,這個布林值表示如果 XML 檔無法根據驗證架構驗證失敗,工作是否失敗。

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

屬性值

Boolean

如果 XML 檔無法根據驗證架構驗證,則工作會失敗;如果 XML 驗證不影響工作成功,則為 false。

實作

備註

預設值為 False。 當設為或時,會使用這個屬性 OperationType Diff Patch

適用於