Επεξεργασία

Κοινή χρήση μέσω


<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.

<configuration>
  <system.serviceModel>
    <routing>

Syntax

<system.serviceModel>
  <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>
</system.serviceModel>

Attributes and elements

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

Attributes

None

Child elements

Description
<filters> 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

Description
<system.ServiceModel> The root element of all WCF configuration elements.

See also