Rule​Description Class

Definition

Represents a description of a rule.

[System.Runtime.Serialization.DataContract(Name="RuleDescription", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public sealed class RuleDescription : Microsoft.ServiceBus.Messaging.EntityDescription
Inheritance
RuleDescription
Attributes
System.Runtime.Serialization.DataContract

Inherited Members

Microsoft.ServiceBus.Messaging.EntityDescription

Constructors

Rule​Description()

Initializes a new instance of the RuleDescription class with default values.

Rule​Description(​Filter)

Initializes a new instance of the RuleDescription class with the specified filter expression.

Rule​Description(​String)

Initializes a new instance of the RuleDescription class with the specified name.

Rule​Description(​String, ​Filter)

Initializes a new instance of the RuleDescription class with the specified name and filter expression.

Fields

Default​Rule​Name

The default name used in creating default rule when adding subscriptions to a topic. The name is "$Default".

Properties

Action

Gets or sets the action to perform if the message satisfies the filtering expression.

Created​At

Gets creation time of the rule.

Filter

Gets or sets the filter expression used to match messages.

Name

Gets or sets the name of the rule.

Extension Methods

IsDefined(Object)

Represents a description of a rule.

IsNull(Object)

Represents a description of a rule.

IsPrimitive(Object)

Represents a description of a rule.