Example #1
0
 public static MSMQAgent GetMSMQAgent(string agentName, string busName)
 {
     MSMQAgent agent = null;
     try
     {
         agent = new MSMQAgent(agentName, busName);
     }
     catch { }
     return agent;
 }
Example #2
0
 public static MSMQAgent GetMSMQAgent(string agentName)
 {
     MSMQAgent agent = null;
     try
     {
         agent = new MSMQAgent(agentName, MSMQDefine.DEFAULT_BUSNAME);
     }
     catch { }
     return agent;
 }