Partilhar via


<routing>

Represents a configuration section for defining a set of routing filters, which determine the type of Windows Communication Foundation (WCF) MessageFilter to be used when evaluating incoming messages, as well as routing tables that define the target endpoints to send messages to when a filter matches.

Schema Hierarchy

<system.serviceModel>
  <routing>

Syntax

   <routing>      <filters>        <filter customType=”String”                filterData=”String”                filterType="Action/Address/AddressPrefix/And/Custom/Endpoint/MatchAll/XPath"                 name="String" />      </filters>      <routingTables>        <table name="String">          <entries>            <add endpoint="String"                  filterName="String"                  priority="Integer" />          </entries>        </table>      </routingTables></routing>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

Element Description

<filters> of <routing>

Contains a set of routing filters that determine the type of Windows Communication Foundation (WCF) MessageFilter will be used when evaluating incoming messages. 

<filterTables>

Contains mappings between the routing filters and the target endpoints to specify which endpoint to use when the filter matches.

Parent Elements

Element Description

system.ServiceModel

The root element of all WCF configuration elements.

See Also

Reference

System.ServiceModel.Routing.Configuration.RoutingSection