Rule Constructors
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.
Overloads
Rule(String)
public:
Rule(System::String ^ name);
public Rule (string name);
new Microsoft.RuleEngine.Rule : string -> Microsoft.RuleEngine.Rule
Public Sub New (name As String)
Parameters
- name
- String
Applies to
Rule(String, VocabularyLink)
public:
Rule(System::String ^ name, Microsoft::RuleEngine::VocabularyLink ^ vocabularyLink);
public Rule (string name, Microsoft.RuleEngine.VocabularyLink vocabularyLink);
new Microsoft.RuleEngine.Rule : string * Microsoft.RuleEngine.VocabularyLink -> Microsoft.RuleEngine.Rule
Parameters
- name
- String
- vocabularyLink
- VocabularyLink
Applies to
Rule(String, LogicalExpression, ActionCollection)
public:
Rule(System::String ^ name, Microsoft::RuleEngine::LogicalExpression ^ conditions, Microsoft::RuleEngine::ActionCollection ^ actions);
public Rule (string name, Microsoft.RuleEngine.LogicalExpression conditions, Microsoft.RuleEngine.ActionCollection actions);
new Microsoft.RuleEngine.Rule : string * Microsoft.RuleEngine.LogicalExpression * Microsoft.RuleEngine.ActionCollection -> Microsoft.RuleEngine.Rule
Public Sub New (name As String, conditions As LogicalExpression, actions As ActionCollection)
Parameters
- name
- String
- conditions
- LogicalExpression
- actions
- ActionCollection
Applies to
Rule(String, LogicalExpression, ActionCollection, VocabularyLink)
public:
Rule(System::String ^ name, Microsoft::RuleEngine::LogicalExpression ^ conditions, Microsoft::RuleEngine::ActionCollection ^ actions, Microsoft::RuleEngine::VocabularyLink ^ vocabularyLink);
public Rule (string name, Microsoft.RuleEngine.LogicalExpression conditions, Microsoft.RuleEngine.ActionCollection actions, Microsoft.RuleEngine.VocabularyLink vocabularyLink);
new Microsoft.RuleEngine.Rule : string * Microsoft.RuleEngine.LogicalExpression * Microsoft.RuleEngine.ActionCollection * Microsoft.RuleEngine.VocabularyLink -> Microsoft.RuleEngine.Rule
Parameters
- name
- String
- conditions
- LogicalExpression
- actions
- ActionCollection
- vocabularyLink
- VocabularyLink
Applies to
Rule(String, Int32, LogicalExpression, ActionCollection)
public:
Rule(System::String ^ name, int priority, Microsoft::RuleEngine::LogicalExpression ^ conditions, Microsoft::RuleEngine::ActionCollection ^ actions);
public Rule (string name, int priority, Microsoft.RuleEngine.LogicalExpression conditions, Microsoft.RuleEngine.ActionCollection actions);
new Microsoft.RuleEngine.Rule : string * int * Microsoft.RuleEngine.LogicalExpression * Microsoft.RuleEngine.ActionCollection -> Microsoft.RuleEngine.Rule
Public Sub New (name As String, priority As Integer, conditions As LogicalExpression, actions As ActionCollection)
Parameters
- name
- String
- priority
- Int32
- conditions
- LogicalExpression
- actions
- ActionCollection
Applies to
Rule(String, Int32, LogicalExpression, ActionCollection, VocabularyLink)
public:
Rule(System::String ^ name, int priority, Microsoft::RuleEngine::LogicalExpression ^ conditions, Microsoft::RuleEngine::ActionCollection ^ actions, Microsoft::RuleEngine::VocabularyLink ^ vocabularyLink);
public Rule (string name, int priority, Microsoft.RuleEngine.LogicalExpression conditions, Microsoft.RuleEngine.ActionCollection actions, Microsoft.RuleEngine.VocabularyLink vocabularyLink);
new Microsoft.RuleEngine.Rule : string * int * Microsoft.RuleEngine.LogicalExpression * Microsoft.RuleEngine.ActionCollection * Microsoft.RuleEngine.VocabularyLink -> Microsoft.RuleEngine.Rule
Parameters
- name
- String
- priority
- Int32
- conditions
- LogicalExpression
- actions
- ActionCollection
- vocabularyLink
- VocabularyLink