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
Microsoft.ServiceBus.Messaging.CorrelationFilter
Microsoft.ServiceBus.Messaging.SqlFilter
Attributes
Implements

Remarks

Filter is an abstract class with the following concrete implementations:

Properties

RequiresPreprocessing

Gets a value indicating whether the filter expression requires preprocessing.

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.

Explicit Interface Implementations

IExtensibleDataObject.ExtensionData

Extension Methods

IsDefined(Object)
IsNull(Object)
IsPrimitive(Object)