Прочетете на английски Редактиране

Споделяне чрез


EndpointDispatcher.ContractFilter Property

Definition

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

C#
public System.ServiceModel.Dispatcher.MessageFilter ContractFilter { get; set; }

Property Value

The filter used to route messages to the appropriate contract.

Remarks

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.

Applies to

Продукт Версии
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1