Uređivanje

Dijeli putem


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
EndpointAddressMessageFilter

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, Boolean)

Initializes a new instance of the EndpointAddressMessageFilter class.

EndpointAddressMessageFilter(EndpointAddress)

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

Properties

Address

Gets the address that the EndpointAddressMessageFilter tests messages against.

IncludeHostNameInComparison

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

Methods

CreateFilterTable<FilterData>()

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

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
Match(Message)

Tests whether a message satisfies the specified endpoint address.

Match(MessageBuffer)

Tests whether a buffered message satisfies the specified endpoint address.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to