Setting Filter Priorities

Typically, more than one data filter will be registered for the same event. The order in which data filters react to events can affect the results.

The priority coded into the data filter determines the order in which filters access data. The possible priority settings are defined in the FwxDataFilterPriorityClass enumerated type. Each priority setting is defined as being closer to the client or closer to the server. A data filter that is closer to the client is likely to be the first to examine data flowing from the client, but least likely to be the first to examine data flowing to the client. A data filter that is closer to the server is likely to be the first to examine data flowing from the server to the client, and unlikely to be the first to examine data flowing from the client to the server.

Data filter priority is important because the first data filter in a chain of data filters can affect the data received by subsequent filters.

When two or more data filters share the same priority, the order in which they address the data is arbitrary.


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.

[an error occurred while processing this directive]