Ejemplo n.º 1
0
 public void SendMessage(int itemId, string queueName, Stream data)
 {
     using (var writer = TransportClient.CreateWriter(queueName, CommitOptions.None))
     {
         writer.Write(ReadFully(data));
     }
     this.SenderWorker.Process();
     OnSent?.Invoke(itemId);
 }