EndpointDispatcher.FilterPriority Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the priority of the ContractFilter and the AddressFilter combination when the ChannelDispatcher is selecting endpoints.
public:
property int FilterPriority { int get(); void set(int value); };
public int FilterPriority { get; set; }
member this.FilterPriority : int with get, set
Public Property FilterPriority As Integer
Property Value
The priority of the filter.
Remarks
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.
If two endpoints can process a message and the value of their FilterPriority property matches, a System.ServiceModel.Dispatcher.MultipleFilterMatchesException is thrown.