Пример #1
0
 public IMhMessage Peek()
 {
     queue.MessageReadPropertyFilter.SetAll();
     return(MhMessage.Convert(queue.Peek()));
 }
Пример #2
0
 public IMhMessage Peek(string id)
 {
     queue.MessageReadPropertyFilter.SetAll();
     return(MhMessage.Convert(queue.PeekById(id)));
 }
Пример #3
0
 public IMhMessage Receive(TimeSpan timeout)
 {
     queue.MessageReadPropertyFilter.SetAll();
     return(MhMessage.Convert(queue.Receive(timeout)));
 }