PrepAway - Latest Free Exam Questions & Answers

Tag: rulevalidation name of rule error

Which code segment should you insert at line 03?

You create a Windows Workflow Foundation application by using Microsoft .NET Framework 3.5.

The application has a class named Order. You have an external rules file that contains rules to be executed against instances of the Order class.

You write the following code segment. (Line numbers are included for reference only.)

01 RuleSet set;
02 //Deserialize MyRules.rules file and read it into the ruleset You need to validate the rule set before its execution.

Which code segment should you insert at line 03?