Export (0) Print
Expand All

EndpointDispatcher.FilterPriority Property

Gets or sets the priority of the ContractFilter and the AddressFilter combination when the ChannelDispatcher is selecting endpoints.

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

public int FilterPriority { get; set; }

Property Value

Type: System.Int32
The priority of the filter.

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.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft