Export (0) Print
Expand All

EndpointDispatcher.ContractFilter Property

Gets or sets the MessageFilter object that is used to identify whether a message is destined for this contract.

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

public MessageFilter ContractFilter { get; set; }

Property Value

Type: System.ServiceModel.Dispatcher.MessageFilter
The filter used to route messages to the appropriate contract.

The ContractFilter property is a MessageFilter object that is matched against the action of a 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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft