Share via


FalseFilter Class

Definition

Represents the false filter expression.

[System.Runtime.Serialization.DataContract(Name="FalseFilter", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public sealed class FalseFilter : Microsoft.ServiceBus.Messaging.SqlFilter
[<System.Runtime.Serialization.DataContract(Name="FalseFilter", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")>]
type FalseFilter = class
    inherit SqlFilter
Public NotInheritable Class FalseFilter
Inherits SqlFilter
Inheritance
FalseFilter
Attributes

Remarks

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

Constructors

FalseFilter()

Initializes a new instance of the FalseFilter class.

Properties

CompatibilityLevel

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

(Inherited from SqlFilter)
Parameters

Sets the value of a filter expression.

(Inherited from SqlFilter)
RequiresPreprocessing

Gets a value indicating whether the SQL filter expression requires preprocessing.

SqlExpression

Gets the SQL expression.

(Inherited from SqlFilter)

Methods

Match(BrokeredMessage)

Matches a message against the current SQL expression.

Preprocess()

Gets the preprocessed filter expression.

ToString()

Converts the current instance to its string representation.

Validate()

Validates the SQL expression.

Explicit Interface Implementations

IExtensibleDataObject.ExtensionData (Inherited from Filter)

Applies to