Export (0) Print
Expand All

FalseFilter Class

Represents the false filter expression.

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

[DataContractAttribute(Name = "FalseFilter", Namespace = "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public sealed class FalseFilter : SqlFilter

The FalseFilter type exposes the following members.

  NameDescription
Public methodFalseFilterInitializes a new instance of the FalseFilter class.
Top

  NameDescription
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.)
Top

  NameDescription
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().)
Top

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

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.

Community Additions

ADD
Show:
© 2014 Microsoft