The IChannelFilter Interface

The Microsoft.ConnectedIndustry.ServiceModel.ProtocolChannels.Channels.IChannelFilter interface defines the methods that a channel filter must implement to enable a client application and a service to apply a policy to a message, and to verify that a message conforms to a policy.

The IChannelFilter interface defines the following members.

Name

Description

ProcessOutgoingRequest

The ProcessOutgoingRequest method is called by a client application when it sends a request to a service. Use this method to apply a policy to a request.

ProcessIncomingRequest

The ProcessIncomingRequest method is called by a service when it receives a request. Use this method to verify that the request conforms to a policy.

ProcessOutgoingReply

The ProcessOutgoingReply method is called by a service when it sends a response to a client application. Use this method to apply a policy to a response.

ProcessIncomingReply

The ProcessIncomingReply method is called by a client application when it receives a response from a service. Use this method to verify that the response conforms to a policy.

Clone

The Clone method returns a copy of an IChannelFilter object.


Show: