RuleDescription RuleDescription RuleDescription 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
type RuleDescription = class
    inherit EntityDescription
Public NotInheritable Class RuleDescription
Inherits EntityDescription
Inheritance
RuleDescriptionRuleDescriptionRuleDescription
Attributes

Constructors

RuleDescription() RuleDescription() RuleDescription()

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

RuleDescription(Filter) RuleDescription(Filter) RuleDescription(Filter)

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

RuleDescription(String) RuleDescription(String) RuleDescription(String)

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

RuleDescription(String, Filter) RuleDescription(String, Filter) RuleDescription(String, Filter)

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

Fields

DefaultRuleName DefaultRuleName DefaultRuleName

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

Properties

Action Action Action

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

CreatedAt CreatedAt CreatedAt

Gets creation time of the rule.

ExtensionData ExtensionData ExtensionData

Gets or sets the structure that contains extra data.

(Inherited from EntityDescription)
Filter Filter Filter

Gets or sets the filter expression used to match messages.

IsReadOnly IsReadOnly IsReadOnly

Gets or sets a value that indicates whether the entity description is read-only.

(Inherited from EntityDescription)
Name Name Name

Gets or sets the name of the rule.

Methods

ThrowIfReadOnly() ThrowIfReadOnly() ThrowIfReadOnly()

Throws an exception if the entity description is read-only.

(Inherited from EntityDescription)

Applies to