ValidationSettings.OnlyUseAdditionalConstraints Property

Definition

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.

C#
public bool OnlyUseAdditionalConstraints { get; set; }

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.

Applies to

Produk Versi
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1