แก้ไข

แชร์ผ่าน


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.

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.

Applies to