TrueFilter TrueFilter Class

Matches a filter expression.

Syntax

Declaration

[DataContract(Name = "TrueFilter", Namespace = "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public sealed class TrueFilter : SqlFilter, IExtensibleDataObject<DataContract(Name:="TrueFilter", Namespace:="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")>
Public NotInheritable Class TrueFilter
    Inherits SqlFilter
    Implements IExtensibleDataObject

Inheritance Hierarchy

Inherited Members

, , , , , ,
Microsoft.ServiceBus.Messaging.Filter.System.Runtime.Serialization.IExtensibleDataObject.ExtensionData
Microsoft.ServiceBus.Messaging.Filter.System.Runtime.Serialization.IExtensibleDataObject.ExtensionData
,
Microsoft.ServiceBus.Messaging.Filter.System.Runtime.Serialization.IExtensibleDataObject.ExtensionData
Microsoft.ServiceBus.Messaging.Filter.System.Runtime.Serialization.IExtensibleDataObject.ExtensionData
, , , , , , , , , , ,

Constructors summary

Initializes a new instance of the TrueFilter class.

Properties summary

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

Methods summary

Matches a message against the current SQL expression.

Gets the preprocessed filter expression.

Converts the value of the current instance to its equivalent string representation.

Validates the SQL expression.

Constructors

  • TrueFilter()
    TrueFilter()

    Initializes a new instance of the TrueFilter class.

    public TrueFilter()Public Sub New

Properties

  • RequiresPreprocessing
    RequiresPreprocessing

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

    public override bool RequiresPreprocessing { get; }Public Overrides ReadOnly Property RequiresPreprocessing As Boolean

    Property Value

    • true if the SQL filter expression requires preprocessing; otherwise, false. Currently always returns true.

Methods

  • Match(BrokeredMessage)
    Match(BrokeredMessage)

    Matches a message against the current SQL expression.

    public override bool Match(BrokeredMessage message)Public Overrides Function Match(message As BrokeredMessage) As Boolean

    Parameters

    Returns

  • Preprocess()
    Preprocess()

    Gets the preprocessed filter expression.

    public override Filter Preprocess()Public Overrides Function Preprocess As Filter

    Returns

  • ToString()
    ToString()

    Converts the value of the current instance to its equivalent string representation.

    public override string ToString()Public Overrides Function ToString As String

    Returns

    • A string representation of the current instance.

  • Validate()
    Validate()

    Validates the SQL expression.

    public override void Validate()Public Overrides Sub Validate

Details

Assembly

Microsoft.ServiceBus.dll