public void BeforeSendReply(ref Message reply, object correlationState) { reply = TraceMessage(reply.CreateBufferedCopy(int.MaxValue)); LogFileWriter.LogResponseBody(reply?.ToString()); }