Inheritance: ITransport
 public void NotExistCheck()
 {
     var name = new TransportEndpointAddress(Guid.NewGuid().ToString());
     var manager = new MsmqTransport();
     var exists = manager.ExistsEndpoint(name);
     Assert.AreEqual(exists, false);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:System.Object"/> class.
 /// </summary>
 public MsmqTransportEndpoint(TransportEndpointAddress name, MessageQueue messageQueue, MsmqTransport transport)
 {
     _name         = name;
     _messageQueue = messageQueue;
     _transport    = transport;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="T:System.Object"/> class.
 /// </summary>
 public MsmqTransportEndpoint(TransportEndpointAddress name, MessageQueue messageQueue, MsmqTransport transport)
 {
     _name = name;
     _messageQueue = messageQueue;
     _transport = transport;
 }