| Visual Basic (Usage) |  Copy Code | 
|---|---|
| Dim instance As ServiceMessageContextMessageInspector Dim reply As Message Dim correlationState As Object instance.BeforeSendReply(reply, correlationState) | |
| C# | |
|---|---|
| public void BeforeSendReply( ref Message reply, object correlationState ) | |
Parameters
- reply
- The reply message. This value is null if the operation is one way.
- correlationState
- The correlation object returned from the System.ServiceModel.Dispatcher.IDispatchMessageInspector.AfterReceiveRequest(System.ServiceModel.Channels.Message@,System.ServiceModel.IClientChannel,System.ServiceModel.InstanceContext) method.
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x
 
     
     
     
     
    
    