XMLTask.FailOnDifference Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a Boolean that indicates whether the task fails if the XML document fails to validate according to the validation schema.
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
Property Value
true if the task fails if the XML document fails to validate according to the validation schema; false if XML validation does not affect task success.
Implements
Remarks
Default value is False
. This property is used when the OperationType is set to Diff or Patch.