Share via


XMLTask.FailOnDifference Property

Definition

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.

Applies to