Sdílet prostřednictvím


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
[<System.Runtime.Serialization.DataContract(Name="RuleDescription", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")>]
type RuleDescription = class
    inherit EntityDescription
Public NotInheritable Class RuleDescription
Inherits EntityDescription
Inheritance
RuleDescription
Attributes

Constructors

RuleDescription()

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

RuleDescription(Filter)

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

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.

CreatedAt

Gets creation time of the rule.

ExtensionData

Gets or sets the structure that contains extra data.

(Inherited from EntityDescription)
Filter

Gets or sets the filter expression used to match messages.

IsReadOnly

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

(Inherited from EntityDescription)
Name

Gets or sets the name of the rule.

Methods

ThrowIfReadOnly()

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

(Inherited from EntityDescription)

Applies to