Share via


DeliveryRule Class

Definition

A rule that specifies a set of actions and conditions

public class DeliveryRule
type DeliveryRule = class
Public Class DeliveryRule
Inheritance
DeliveryRule

Constructors

DeliveryRule()

Initializes a new instance of the DeliveryRule class.

DeliveryRule(Int32, IList<DeliveryRuleAction>, IList<DeliveryRuleCondition>)

Initializes a new instance of the DeliveryRule class.

Properties

Actions

Gets or sets a list of actions that are executed when all the conditions of a rule are satisfied.

Conditions

Gets or sets a list of conditions that must be matched for the actions to be executed

Order

Gets or sets the order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied.

Methods

Validate()

Validate the object.

Applies to