SALES: 1-800-867-1380

Filter Class

 

Describes a filter expression that is evaluated against a BrokeredMessage.

Namespace:   Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)


[KnownTypeAttribute(typeof(CorrelationFilter))]
[KnownTypeAttribute(typeof(TrueFilter))]
[KnownTypeAttribute(typeof(SqlFilter))]
[KnownTypeAttribute(typeof(FalseFilter))]
[KnownTypeAttribute(typeof(DateTimeOffset))]
[DataContractAttribute(Name = "Filter", Namespace = "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public abstract class Filter : IExtensibleDataObject

NameDescription
System_CAPS_pubpropertyRequiresPreprocessing

Gets a value indicating whether the filter expression requires preprocessing.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodMatch(BrokeredMessage)

Matches the BrokeredMessage against the FilterExpression.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodPreprocess()

Preprocesses the filter expression and returns a preprocessed FilterExpression.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodValidate()

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

FilterExpression is an abstract class with the following concrete implementations:

  1. SqlFilterExpression that represents a filter using SQL syntax.

  2. CorrelationFilter that provides an optimization for correlation equality expressions.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft