Exemplo n.º 1
0
 public void Open()
 {
     if (null != _messageQueue)
     {
         return; // messageQueue is already created and the pipe is already opened
     }
     var msmqDirectFormatName = _pipeName.GetMSMQFormatName();
     _messageQueue = new MessageQueue(msmqDirectFormatName);
     _messageQueue.SetPropertyFilter();
     _messageQueue.Formatter = OverdriveMessageFormatter; // This does not seem to affect anything
 }