protected override void AddProperties(Message message)
            {
                HostedHttpContext.HostedRequestContainer httpHeaderProvider = new HostedHttpContext.HostedRequestContainer(this.hostedHttpContext.result);
                HttpRequestMessageProperty property = new HttpRequestMessageProperty(httpHeaderProvider)
                {
                    Method = this.hostedHttpContext.HttpMethod
                };

                if (this.hostedHttpContext.result.RequestUri.Query.Length > 1)
                {
                    property.QueryString = this.hostedHttpContext.result.RequestUri.Query.Substring(1);
                }
                message.Properties.Add(HttpRequestMessageProperty.Name, property);
                message.Properties.Add(HostingMessageProperty.Name, CreateMessagePropertyFromHostedResult(this.hostedHttpContext.result));
                message.Properties.Via = this.hostedHttpContext.result.RequestUri;
                RemoteEndpointMessageProperty property2 = new RemoteEndpointMessageProperty(httpHeaderProvider);

                message.Properties.Add(RemoteEndpointMessageProperty.Name, property2);
                this.hostedHttpContext.SetRequestContainer(httpHeaderProvider);
            }
 protected override void AddProperties(Message message)
 {
     HostedHttpContext.HostedRequestContainer httpHeaderProvider = new HostedHttpContext.HostedRequestContainer(this.hostedHttpContext.result);
     HttpRequestMessageProperty property = new HttpRequestMessageProperty(httpHeaderProvider) {
         Method = this.hostedHttpContext.HttpMethod
     };
     if (this.hostedHttpContext.result.RequestUri.Query.Length > 1)
     {
         property.QueryString = this.hostedHttpContext.result.RequestUri.Query.Substring(1);
     }
     message.Properties.Add(HttpRequestMessageProperty.Name, property);
     message.Properties.Add(HostingMessageProperty.Name, CreateMessagePropertyFromHostedResult(this.hostedHttpContext.result));
     message.Properties.Via = this.hostedHttpContext.result.RequestUri;
     RemoteEndpointMessageProperty property2 = new RemoteEndpointMessageProperty(httpHeaderProvider);
     message.Properties.Add(RemoteEndpointMessageProperty.Name, property2);
     this.hostedHttpContext.SetRequestContainer(httpHeaderProvider);
 }