Called after client calls are returned and before service responses are sent.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
'Declaration Sub AfterCall ( _ operationName As String, _ outputs As Object(), _ returnValue As Object, _ correlationState As Object _ )
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.
The following code example shows an IParameterInspector implementation that:
Writes the operation name and return value to the console after a response has been deserialized by the service or a request has been serialized by a client.
Writes the operation name to the console after deserializing a response on the client or after a response has been serialized on the service.
The following code example shows how to use either System.ServiceModel.Description.IOperationBehavior or System.ServiceModel.Description.IEndpointBehavior to insert IParameterInspector objects.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.