public static string key; Dictionary<string , string> actionToReplyAction; String value = ""; public NLog.Logger _logger = NLog.LogManager.GetCurrentClassLogger(); public void AfterReceiveReply(ref Message reply, object correlationState) { if (reply.IsFault) { string requestAction = (string)correlationState; _logger.Debug("Request :::: " + key); _logger.Debug("Response :::: " + reply.ToString()); } } public object BeforeSendrequest(ref Message request, IClientChannel channel) { key = request.ToString(); return null; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)