diff options
Diffstat (limited to 'mcs/class/System.ServiceModel/System.ServiceModel.Channels/RequestChannelBase.cs')
-rw-r--r-- | mcs/class/System.ServiceModel/System.ServiceModel.Channels/RequestChannelBase.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mcs/class/System.ServiceModel/System.ServiceModel.Channels/RequestChannelBase.cs b/mcs/class/System.ServiceModel/System.ServiceModel.Channels/RequestChannelBase.cs index 392ea2d6bc3..ee29936c58b 100644 --- a/mcs/class/System.ServiceModel/System.ServiceModel.Channels/RequestChannelBase.cs +++ b/mcs/class/System.ServiceModel/System.ServiceModel.Channels/RequestChannelBase.cs @@ -66,6 +66,13 @@ namespace System.ServiceModel.Channels get { return via ?? RemoteAddress.Uri; } } + public override T GetProperty<T> () + { + if (typeof (T) == typeof (IChannelFactory)) + return (T) (object) channel_factory; + return base.GetProperty<T> (); + } + // Request public Message Request (Message message) |