ATUL_v1.AtulBusinessLogic.PushToQueue C# (CSharp) Метод

PushToQueue() публичный Метод

Pushes to queue.
public PushToQueue ( string queue, string body, string>.List headerList ) : string
queue string The queue.
body string The body.
headerList string>.List The header list.
Результат string
        public string PushToQueue(string queue, string body, List<KeyValuePair<string, string>> headerList)
        {
            //Here we add the headers to the message. This will generally include at least the verb and the response queue.
            string correlationid = "";

            return correlationid;
        }

Usage Example

Пример #1
0
 public string DescribeActor(string queuename)
 {
     Trace.WriteLineIf(debug, DateTime.Now + string.Format(" Building describe message for queue: {0}", queuename));
     string env = ConfigurationManager.AppSettings["environment"].ToString();
     string correlationid = "";
     string describeMessage = "A simple DESCRIBE request";
     List<KeyValuePair<string, string>> headerList = new List<KeyValuePair<string, string>>();
     headerList.Add(new KeyValuePair<string, string>("VERB", "DESCRIBE"));
     headerList.Add(new KeyValuePair<string, string>("RETURNQUEUE", ConfigurationManager.AppSettings[env + "." + "AtulAdminQueue"].ToString()));
     AtulBusinessLogic adb = new AtulBusinessLogic();
     correlationid = adb.PushToQueue(queuename, describeMessage, headerList);
     return correlationid;
 }
All Usage Examples Of ATUL_v1.AtulBusinessLogic::PushToQueue
AtulBusinessLogic