public void AfterReceiveReply(ref System.ServiceModel.Channels.Message reply, object correlationState) { this.lastRawResponseMessage = reply.ToString(); if (this.ValidationEvent != null) { CustomerEventArgs args = new CustomerEventArgs { RawRequestXml = this.lastRawRequestMessgae, RawResponseXml = this.lastRawResponseMessage }; this.ValidationEvent(this, args); } }