Baza Wiedzy MSDN
Zwiń spis treści
Rozwiń spis treści
EN
Ta zawartość nie jest dostępna w wymaganym języku. Wersja w języku angielskim znajduje się tutaj.

CorrelationFilter Class

 

Represents the correlation filter expression.

Namespace:   Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

System.Object
  Microsoft.ServiceBus.Messaging.Filter
    Microsoft.ServiceBus.Messaging.CorrelationFilter

[DataContractAttribute(Name = "CorrelationFilter", Namespace = "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
[KnownTypeAttribute(typeof(DateTimeOffset))]
public sealed class CorrelationFilter : Filter

NameDescription
System_CAPS_pubmethodCorrelationFilter()

Initializes a new instance of the CorrelationFilter class with default values.

System_CAPS_pubmethodCorrelationFilter(String)

Initializes a new instance of the CorrelationFilter class with the specified correlation identifier.

NameDescription
System_CAPS_pubpropertyContentType

Gets the content type of the message.

System_CAPS_pubpropertyCorrelationId

Gets the identifier of the correlation.

System_CAPS_pubpropertyLabel

Gets the application specific label.

System_CAPS_pubpropertyMessageId

Gets the identifier of the message.

System_CAPS_pubpropertyProperties

Gets the application specific properties of the message.

System_CAPS_pubpropertyReplyTo

Gets the address of the queue to reply to.

System_CAPS_pubpropertyReplyToSessionId

Gets the session identifier to reply to.

System_CAPS_pubpropertyRequiresPreprocessing

Gets a value indicating whether the CorrelationFilter expression requires preprocessing.(Overrides Filter.RequiresPreprocessing.)

System_CAPS_pubpropertySessionId

Gets the session identifier.

System_CAPS_pubpropertyTo

Gets the address to send to.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodMatch(BrokeredMessage)

Indicates whether a message matches against the current SQL expression.(Overrides Filter.Match(BrokeredMessage).)

System_CAPS_pubmethodPreprocess()

Gets the preprocessed filter expression.(Overrides Filter.Preprocess().)

System_CAPS_pubmethodToString()

Converts the value of the current instance to its equivalent string representation.(Overrides Object.ToString().)

System_CAPS_pubmethodValidate()

Validates the CorrelationFilter object.(Overrides Filter.Validate().)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privpropertyIExtensibleDataObject.ExtensionData

Gets or sets the object that contains extra data.(Inherited from Filter.)

The CorrelationFilter provides an efficient shortcut for declarations of filters that deal only with correlation equality. In this case the cost of the lexicographical analysis of the expression can be avoided. Not only will correlation filters be optimized at declaration time, but they will also be optimized at runtime. Correlation filter matching can be reduced to a hashtable lookup, which aggregates the complexity of the set of defined correlation filters to 0(1).

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Pokaż:
© 2016 Microsoft