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
Implements

Remarks

Filter is an abstract class with the following concrete implementations:

Properties

Requires​Preprocessing

Gets a value indicating whether the filter expression requires preprocessing.

Methods

Match(​Brokered​Message)

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

I​Extensible​Data​Object.​Extension​Data

Extension Methods

IsDefined(Object)

Describes a filter expression that is evaluated against a BrokeredMessage.

IsNull(Object)

Describes a filter expression that is evaluated against a BrokeredMessage.

IsPrimitive(Object)

Describes a filter expression that is evaluated against a BrokeredMessage.