Called after the operation has returned but before the reply message is sent.

Namespace:  Mindscape.LightSpeed.ServiceModel
Assembly:  Mindscape.LightSpeed.ServiceModel (in Mindscape.LightSpeed.ServiceModel.dll)
Version: 4.0.0.0 (4.0.0.0)

Syntax

C#
public void BeforeSendReply(
	ref Message reply,
	Object correlationState
)
Visual Basic (Declaration)
Public Sub BeforeSendReply ( _
	ByRef reply As Message, _
	correlationState As Object _
)

Parameters

reply
Type: System.ServiceModel.Channels..::.Message %
The reply message. This value is null if the operation is one way.
correlationState
Type: System..::.Object
The correlation object returned from the AfterReceiveRequest(Message%, IClientChannel, InstanceContext) method.

Implements

IDispatchMessageInspector..::.BeforeSendReply(Message%, Object)

See Also