SqlFilter Class

Definition

Represents a filter which is a composition of an expression and an action that is executed in the pub/sub pipeline.

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

Constructors

SqlFilter(String)

Initializes a new instance of the SqlFilter class using the specified SQL expression.

Properties

CompatibilityLevel

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

Parameters

Sets the value of a filter expression.

RequiresPreprocessing

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

SqlExpression

Gets the SQL expression.

Methods

Match(BrokeredMessage)

Specifies whether a message matches against the current SQL expression.

Preprocess()

Gets the preprocessed filter expression.

ToString()

Returns a string representation of SqlFilter.

Validate()

Validates the SQL expression.

Explicit Interface Implementations

IExtensibleDataObject.ExtensionData (Inherited from Filter)

Applies to