Share via


CreateRuleOptions Class

Definition

Represents the set of options that can be specified for the creation of a rule.

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

Constructors

CreateRuleOptions()

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

CreateRuleOptions(RuleProperties)

Initializes a new instance of CreateRuleOptions based on the specified RuleProperties instance. This is useful for creating a new rule based on the properties of an existing rule.

CreateRuleOptions(String, RuleFilter)

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

CreateRuleOptions(String)

Initializes a new instance of the CreateRuleOptions 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(CreateRuleOptions)

Indicates whether the current object is equal to another object of the same type.

Equals(Object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.

Operators

Equality(CreateRuleOptions, CreateRuleOptions)

Compares two CreateRuleOptions values for equality.

Inequality(CreateRuleOptions, CreateRuleOptions)

Compares two CreateRuleOptions values for inequality.

Applies to