Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EndpointDispatcher::AddressFilter Property

 

Gets or sets a System.ServiceModel.Dispatcher::MessageFilter object that is used to identify whether a particular message is destined for the endpoint address.

Namespace:   System.ServiceModel.Dispatcher
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
property MessageFilter^ AddressFilter {
	MessageFilter^ get();
	void set(MessageFilter^ value);
}

Property Value

Type: System.ServiceModel.Dispatcher::MessageFilter^

The address filter used to route the message to the appropriate endpoint.

The System.ServiceModel.Dispatcher::ChannelDispatcher has an EndpointDispatcher for each endpoint the channel can support. The AddressFilter property is a System.ServiceModel.Dispatcher::MessageFilter object that matches the destination endpoint address of the message. The ChannelDispatcher combines the AddressFilter value with the ContractFilter value to determine whether to route a message to this endpoint.

In the case where two EndpointDispatcher objects that match can process a message, the FilterPriority property is used to select an endpoint.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft