NServiceBus.MsmqAddress.ToString C# (CSharp) Method

ToString() public method

public ToString ( ) : string
return string
        public override string ToString()
        {
            return Queue + "@" + Machine;
        }

Usage Example

Example #1
0
 public WorkerFeature()
 {
     DependsOn <DelayedDeliveryFeature>();
     Defaults(s =>
     {
         var distributorAddress                 = s.Get <string>("LegacyDistributor.Address");
         var distributorMsmqAddress             = MsmqAddress.Parse(distributorAddress);
         var distributorTimeoutQueue            = new MsmqAddress(distributorMsmqAddress.Queue + ".Timeouts", distributorMsmqAddress.Machine);
         var timeoutManagerAddressConfiguration = s.Get <TimeoutManagerAddressConfiguration>();
         timeoutManagerAddressConfiguration.Set(distributorTimeoutQueue.ToString());
     });
 }
All Usage Examples Of NServiceBus.MsmqAddress::ToString