Sql​Filter Class

Definition

Represents a filter, which is a combination of an expression and an action that is executed in the publish/subscribe pipeline. For information about the SQLFilter syntax, see SQLFilter syntax.

[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
Inheritance
SqlFilter
Derived
Attributes
System.Runtime.Serialization.DataContract System.Runtime.Serialization.KnownType System.Runtime.Serialization.KnownType System.Runtime.Serialization.KnownType

Inherited Members

Microsoft.ServiceBus.Messaging.Filter

Constructors

Sql​Filter(​String)

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

Properties

Compatibility​Level

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.

Requires​Preprocessing

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

Sql​Expression

Gets the SQL expression.

Methods

Match(​Brokered​Message)

Specifies whether a message matches against the current SQL expression.

Preprocess()

Gets the preprocessed filter expression.

To​String()

Returns a string representation of SqlFilter.

Validate()

Validates the SQL expression.

Extension Methods

IsDefined(Object)
IsNull(Object)
IsPrimitive(Object)