This topic has not yet been rated - Rate this topic

FalseFilter Class

Represents the false filter expression.

System.Object
  Microsoft.ServiceBus.Messaging.Filter
    Microsoft.ServiceBus.Messaging.SqlFilter
      Microsoft.ServiceBus.Messaging.FalseFilter

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.

  Name Description
Public method FalseFilter Initializes a new instance of the FalseFilter class.
Top
  Name Description
Public property CompatibilityLevel This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20. (Inherited from SqlFilter.)
Public property RequiresPreprocessing Gets a value indicating whether the SQL filter expression requires preprocessing. (Overrides SqlFilter.RequiresPreprocessing.)
Public property SqlExpression Gets the SQL expression. (Inherited from SqlFilter.)
Top
  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Match Matches a message against the current SQL expression. (Overrides SqlFilter.Match(BrokeredMessage).)
Protected method MemberwiseClone (Inherited from Object.)
Public method Preprocess Gets the preprocessed filter expression. (Overrides SqlFilter.Preprocess().)
Public method ToString (Inherited from Object.)
Public method Validate Validates the SQL expression. (Overrides SqlFilter.Validate().)
Top
  Name Description
Explicit interface implemetation Private property IExtensibleDataObject.ExtensionData Gets 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.
Did you find this helpful?
(1500 characters remaining)