This topic has not yet been rated - Rate this topic

RuleDescription Class

Represents a description of a rule.

System.Object
  Microsoft.ServiceBus.Messaging.EntityDescription
    Microsoft.ServiceBus.Messaging.RuleDescription

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
[DataContractAttribute(Name = "RuleDescription", Namespace = "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public sealed class RuleDescription : EntityDescription

The RuleDescription type exposes the following members.

  Name Description
Public method RuleDescription() Initializes a new instance of the RuleDescription class with default values.
Public method RuleDescription(String) Initializes a new instance of the RuleDescription class with the specified name.
Public method RuleDescription(Filter) Initializes a new instance of the RuleDescription class with the specified filter expression.
Public method RuleDescription(String, Filter) Initializes a new instance of the RuleDescription class with the specified name and filter expression.
Top
  Name Description
Public property Action Gets or sets the action to perform if the message satisfies the filtering expression.
Public property ExtensionData Gets or sets the structure that contains extra data. (Inherited from EntityDescription.)
Public property Filter Gets or sets the filter expression used to match messages.
Public property IsReadOnly Gets or sets a value that indicates whether the entity description is read-only. (Inherited from EntityDescription.)
Public property Name Gets or sets the name of the rule.
Top
  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method ThrowIfReadOnly Throws an exception if the entity description is read-only. (Inherited from EntityDescription.)
Public method ToString (Inherited from Object.)
Top
  Name Description
Public field Static member DefaultRuleName Specifies the name of the default rule.
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)