Пример #1
0
 protected virtual void DoEndSendMessage(IAsyncResult ar)
 {
     try {
         topicClient.EndSend(ar);
     } finally {
         using (ar.AsyncState as IDisposable) { }
     }
 }
Пример #2
0
 public void EndSend(IAsyncResult result)
 {
     if (_queueClient != null)
     {
         _queueClient.EndSend(result);
     }
     else
     {
         _sender.EndSend(result);
     }
 }
 public void EndSend(IAsyncResult result)
 {
     topicClient.EndSend(result);
 }