Ejemplo n.º 1
0
 public void BeforeSendReply(ref Message reply, object correlationState)
 {
     if (reply == null)
        {
       return;
        }
        ConnectionIdHeader header = new ConnectionIdHeader();
        int i = reply.Headers.FindHeader(header.Name, header.Namespace);
        if (-1 >= i)
        {
       reply.Headers.Add(header);
        }
 }
Ejemplo n.º 2
0
            public void BeforeSendReply(ref Message reply, object correlationState)
            {
                if (reply == null)
                {
                    return;
                }

                ConnectionIdHeader header = new ConnectionIdHeader();
                int i = reply.Headers.FindHeader(header.Name, header.Namespace);

                if (-1 >= i)
                {
                    reply.Headers.Add(header);
                }
            }