RuleSet.Validate(RuleValidation) Method
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.
public:
bool Validate(System::Workflow::Activities::Rules::RuleValidation ^ validation);
public bool Validate (System.Workflow.Activities.Rules.RuleValidation validation);
member this.Validate : System.Workflow.Activities.Rules.RuleValidation -> bool
Public Function Validate (validation As RuleValidation) As Boolean
Parameters
- validation
- RuleValidation
The ValidationManager to manage the validation process.
Returns
A ValidationErrorCollection of errors found during validation.
Exceptions
validation
is a null
reference (Nothing
in Visual Basic).
Remarks
If the RuleSet contains errors (the Validate
method returns false
), then RuleValidation.Errors contains the list of errors encountered.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.