ValidationSettings.OnlyUseAdditionalConstraints 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 value that indicates whether the additional validation constraints are to be used exclusively to validate the workflow. If set to true
, all the validation contained inside the activity itself will be ignored.
public:
property bool OnlyUseAdditionalConstraints { bool get(); void set(bool value); };
public bool OnlyUseAdditionalConstraints { get; set; }
member this.OnlyUseAdditionalConstraints : bool with get, set
Public Property OnlyUseAdditionalConstraints As Boolean
Property Value
true
if the additional constraints are to be used exclusively; otherwise, false
.
Remarks
Validate is called whenever a workflow is executed, and any resulting errors will cause a InvalidWorkflowException to be thrown.