Merge branch 'master' of github.com:mono/mono
[mono.git] / mcs / class / System.ServiceModel / System.ServiceModel.Channels / MsmqOutputChannel.cs
index cc0173ed81e78a0d6fa15483bc4991e8a25a5b87..ad3fce64d9b798004559833cf81b27fff03f28cc 100644 (file)
@@ -35,26 +35,13 @@ namespace System.ServiceModel.Channels
        internal class MsmqOutputChannel : OutputChannelBase
        {
                MsmqChannelFactory<IOutputChannel> source;
-               EndpointAddress address;
-               Uri via;
                MessageQueue queue;
 
                public MsmqOutputChannel (MsmqChannelFactory<IOutputChannel> factory,
                        EndpointAddress address, Uri via)
-                       : base (factory)
+                       : base (factory, address, via)
                {
                        this.source = factory;
-                       this.address = address;
-                       this.via = via;
-               }
-
-               // IOutputChannel
-               public override EndpointAddress RemoteAddress {
-                       get { return address; }
-               }
-
-               public override Uri Via {
-                       get { return via; }
                }
 
                // Send