Beispiel #1
0
 public string GetProccess(string queueId)
 {
     if ((address != null) && (Binding != null))
     {
         using (ChannelFactory <ISendMessageService> channel = new ChannelFactory <ISendMessageService>(Binding, address))
         {
             ISendMessageService service = channel.CreateChannel();
             return(service.GetProccess(queueId));
         }
     }
     else
     {
         return(string.Empty);
     }
 }