Class TrueFilter
- Namespace
- Microsoft.ServiceBus.Messaging
- Assembly
- Microsoft.ServiceBus.dll
Matches a filter expression.
[DataContract(Name = "TrueFilter", Namespace = "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public sealed class TrueFilter : SqlFilter, IExtensibleDataObject
- Inheritance
-
TrueFilter
- Implements
-
IExtensibleDataObject
- Inherited Members
Constructors
TrueFilter()
Initializes a new instance of the TrueFilter class.
public TrueFilter()
Properties
RequiresPreprocessing
Gets a value indicating whether the SQL filter expression requires preprocessing.
public override bool RequiresPreprocessing { get; }
Property Value
- bool
true if the SQL filter expression requires preprocessing; otherwise, false. Currently always returns true.
Methods
Match(BrokeredMessage)
Matches a message against the current SQL expression.
public override bool Match(BrokeredMessage message)
Parameters
message
BrokeredMessageThe brokered message.
Returns
- bool
true if it matches; otherwise, false.
Preprocess()
Gets the preprocessed filter expression.
public override Filter Preprocess()
Returns
- Filter
The preprocessed filter expression.
ToString()
Converts the value of the current instance to its equivalent string representation.
public override string ToString()
Returns
- string
A string representation of the current instance.
Validate()
Validates the SQL expression.
public override void Validate()