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
[<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))>]
type Filter = class
    interface IExtensibleDataObject
Public MustInherit Class Filter
Implements IExtensibleDataObject
Inheritance
Filter
Derived
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

Applies to

See also