SALES: 1-800-867-1380

FalseFilter Class

Represents the false filter expression.

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

[DataContractAttribute(Name = "FalseFilter", Namespace = "")]
public sealed class FalseFilter : SqlFilter

The FalseFilter type exposes the following members.

Public methodFalseFilterInitializes a new instance of the FalseFilter class.

Public propertyCompatibilityLevelThis property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20. (Inherited from SqlFilter.)
Public propertyParametersSets the value of a filter expression. (Inherited from SqlFilter.)
Public propertyRequiresPreprocessingGets a value indicating whether the SQL filter expression requires preprocessing. (Overrides SqlFilter.RequiresPreprocessing.)
Public propertySqlExpressionGets the SQL expression. (Inherited from SqlFilter.)

Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodMatchMatches a message against the current SQL expression. (Overrides SqlFilter.Match(BrokeredMessage).)
Public methodPreprocessGets the preprocessed filter expression. (Overrides SqlFilter.Preprocess().)
Public methodToStringConverts the current instance to its string representation. (Overrides SqlFilter.ToString().)
Public methodValidateValidates the SQL expression. (Overrides SqlFilter.Validate().)

Explicit interface implemetationPrivate propertyIExtensibleDataObject.ExtensionDataGets or sets the object that contains extra data. (Inherited from Filter.)

The FalseFilter expression should be used if you want to create a subscription that initially blocks all messages. Typically in this scenario, you may want to create the subscription but want to enable this subscription at a later date. This filter will enable that scenario.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft