Implement the IParameterInspector interface to create a custom parameter inspector that can view and modify the contents of a call both before the call and after the call in either client or service applications.
On outbound calls from a client, the inspector is invoked before the request contents are serialized and sent to the service. The inspector is also called after the response has been deserialized but before the return values have been dispatched to the proxy method.
On inbound calls to a service, the inspector is invoked after parameters are deserialized but before they are dispatched to the service operation.
Use the ClientOperation..::.ParameterInspectors or the DispatchOperation..::.ParameterInspectors properties to add an IParameterInspector implementation to the inspectors collection for a particular operation.
Note Developers and administrators must ensure that the interaction with other IParameterInspector implementations is understood.