Share via


RuleDescription Class

Definition

Represents a description of a rule.

public sealed class RuleDescription : IEquatable<Microsoft.Azure.ServiceBus.RuleDescription>
type RuleDescription = class
    interface IEquatable<RuleDescription>
Public NotInheritable Class RuleDescription
Implements IEquatable(Of RuleDescription)
Inheritance
RuleDescription
Implements

Constructors

RuleDescription()

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

RuleDescription(Filter)
Obsolete.

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

RuleDescription(String, Filter)

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

RuleDescription(String)

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

Fields

DefaultRuleName

Gets the name of the default rule on the subscription.

Properties

Action

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

Filter

Gets or sets the filter expression used to match messages.

Name

Gets or sets the name of the rule.

Methods

Equals(Object)
Equals(RuleDescription)
GetHashCode()

Operators

Equality(RuleDescription, RuleDescription)
Inequality(RuleDescription, RuleDescription)

Applies to