Filter Class

Definition

Describes a filter expression that is evaluated against a BrokeredMessage.

[System.Runtime.Serialization.DataContract(Name="Filter", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.ServiceBus.Messaging.SqlFilter))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.ServiceBus.Messaging.TrueFilter))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.ServiceBus.Messaging.FalseFilter))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.ServiceBus.Messaging.CorrelationFilter))]
[System.Runtime.Serialization.KnownType(typeof(System.DateTimeOffset))]
public abstract class Filter : System.Runtime.Serialization.IExtensibleDataObject
Inheritance
Filter
Derived
Attributes
System.Runtime.Serialization.DataContract System.Runtime.Serialization.KnownType System.Runtime.Serialization.KnownType System.Runtime.Serialization.KnownType System.Runtime.Serialization.KnownType System.Runtime.Serialization.KnownType

Remarks

Filter is an abstract class with the following concrete implementations:

Properties

RequiresPreprocessing

Gets a value indicating whether the filter expression requires preprocessing.

IExtensibleDataObject.ExtensionData

Methods

Match(BrokeredMessage)

Matches the BrokeredMessage against the FilterExpression.

Preprocess()

Preprocesses the filter expression and returns a preprocessed FilterExpression.

Validate()

Validates the FilterExpression and make sure it complies with the valid grammar rules.