コード例 #1
0
        private void StartThreading(string xmlData)
        {
            var gNewOrderNotification = GoogleCheckout.DecodeRequest(xmlData, typeof(NewOrderNotification)) as NewOrderNotification;
            var CustomerInfo          = gNewOrderNotification.shoppingcart.merchantprivatedata.Any[0];
            var customerGuid          = new Guid(CustomerInfo.Attributes["ContactGuid"].Value);

            var paramWrapper = new ParamWrapper()
            {
                CurrentContext  = HttpContext.Current,
                ID              = customerGuid,
                XmlData         = xmlData,
                XmlCustomerInfo = CustomerInfo
            };

            GcThreadProcessor.ThreadStart(ProcessNewOrderNotification, paramWrapper);
        }