EndpointAddressMessageFilter EndpointAddressMessageFilter EndpointAddressMessageFilter EndpointAddressMessageFilter Class

Definition

Represents a query that tests whether a message satisfies the requirements of a specified endpoint address.

public ref class EndpointAddressMessageFilter : System::ServiceModel::Dispatcher::MessageFilter
public class EndpointAddressMessageFilter : System.ServiceModel.Dispatcher.MessageFilter
type EndpointAddressMessageFilter = class
    inherit MessageFilter
Public Class EndpointAddressMessageFilter
Inherits MessageFilter
Inheritance
EndpointAddressMessageFilterEndpointAddressMessageFilterEndpointAddressMessageFilterEndpointAddressMessageFilter

Remarks

This filter tests whether a message satisfies a particular endpoint address. An EndpointAddress object includes a URI and an optional collection of addressing headers. The addressing and message headers are canonicalized in order to be compared for equality. If a parameter appears more than once in an EndpointAddress, the corresponding header must appear in the message at least that many times.

IIS and the underlying file system (NTFS or FAT) are case-insensitive. URI comparisons done by this class are also case-insensitive. So, for example, http://www.microsoft.com is evaluated as equal to http://WWW.microsoft.com.

Constructors

EndpointAddressMessageFilter(EndpointAddress) EndpointAddressMessageFilter(EndpointAddress) EndpointAddressMessageFilter(EndpointAddress) EndpointAddressMessageFilter(EndpointAddress)

Initializes a new instance of the EndpointAddressMessageFilter class with a specified address against which to test a message.

EndpointAddressMessageFilter(EndpointAddress, Boolean) EndpointAddressMessageFilter(EndpointAddress, Boolean) EndpointAddressMessageFilter(EndpointAddress, Boolean) EndpointAddressMessageFilter(EndpointAddress, Boolean)

Initializes a new instance of the EndpointAddressMessageFilter class.

Properties

Address Address Address Address

Gets the address that the EndpointAddressMessageFilter tests messages against.

IncludeHostNameInComparison IncludeHostNameInComparison IncludeHostNameInComparison IncludeHostNameInComparison

Gets a value that indicates whether the host name is included in the endpoint address comparison.

Methods

CreateFilterTable<FilterData>() CreateFilterTable<FilterData>() CreateFilterTable<FilterData>() CreateFilterTable<FilterData>()

Creates a new filter table that tests a message against multiple endpoint addresses simultaneously.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
Match(Message) Match(Message) Match(Message) Match(Message)

Tests whether a message satisfies the specified endpoint address.

Match(MessageBuffer) Match(MessageBuffer) Match(MessageBuffer) Match(MessageBuffer)

Tests whether a buffered message satisfies the specified endpoint address.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to