<filter>
Defines a routing filter, which determines the type of Windows Communication Foundation (WCF)MessageFilter to be used when evaluating incoming messages, as well any supporting data or parameters required by the filter.
<system.serviceModel>
<routing>
<filters>
<filter>
Syntax
<routing>
<filters>
<filter customType="String"
filterData="String"
filterType="Action/Address/AddressPrefix/And/Custom/Endpoint/MatchAll/XPath"
name="String" />
</filters>
</routing>
Attributes and elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute | Description |
---|---|
customType | A string containing the fully qualified type name of the custom type to be used as a filter. If filterType is set to custom , this attribute contains the fully qualified type name of the class to create. filterData may also contain values to be used during evaluation of the custom type filter. |
filterData | A string containing the filter data. For more information on how to specify this attribute, see FilterData. |
filterType | A string containing the filter type. This attribute is of FilterType type. For more information on how this works with the filterData attribute, see FilterData. |
name | A string containing the unique name of this filter element. |
Child elements
None.
Parent elements
Element | Description |
---|---|
<routing> | 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. |
See also
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.