Edit

Bagikan melalui


EndpointDispatcher.AddressFilter Property

Definition

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

public:
 property System::ServiceModel::Dispatcher::MessageFilter ^ AddressFilter { System::ServiceModel::Dispatcher::MessageFilter ^ get(); void set(System::ServiceModel::Dispatcher::MessageFilter ^ value); };
public System.ServiceModel.Dispatcher.MessageFilter AddressFilter { get; set; }
member this.AddressFilter : System.ServiceModel.Dispatcher.MessageFilter with get, set
Public Property AddressFilter As MessageFilter

Property Value

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

Remarks

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.

Applies to