1 interface inheriting from IRequestSessionChannel
System.ServiceModel.Primitives (1)
System\ServiceModel\Channels\IRequestSessionChannel.cs (1)
14internal interface IAsyncRequestSessionChannel : IRequestSessionChannel, IAsyncRequestChannel
2 implementations of IRequestSessionChannel
System.ServiceModel.Primitives (1)
System\ServiceModel\Channels\ReliableRequestSessionChannel.cs (1)
12internal sealed class ReliableRequestSessionChannel : RequestChannel, IRequestSessionChannel, IAsyncRequestChannel
System.ServiceModel.Primitives.Tests (1)
ServiceModel\ThrowingOnCloseBindingElement.cs (1)
231private class ThrowingRequestSessionChannel : ThrowingRequestChannel, IRequestSessionChannel
56 references to IRequestSessionChannel
System.ServiceModel (1)
netstandard.cs (1)
69[assembly: TypeForwardedTo(typeof(IRequestSessionChannel))]
System.ServiceModel.Primitives (51)
System\ServiceModel\Channels\ChannelRequirements.cs (10)
91typeof(IRequestSessionChannel), 98typeof(IRequestSessionChannel), 117typeof(IRequestSessionChannel), 125typeof(IRequestSessionChannel), 144typeof(IRequestSessionChannel), 151typeof(IRequestSessionChannel), 170typeof(IRequestSessionChannel), 179typeof(IRequestSessionChannel), 200channelType == typeof(IRequestSessionChannel)); 216channelType == typeof(IRequestSessionChannel));
System\ServiceModel\Channels\ClientReliableChannelBinder.cs (5)
100else if (type == typeof(IRequestSessionChannel)) 102return new RequestSessionClientReliableChannelBinder(to, via, (IChannelFactory<IRequestSessionChannel>)(object)factory, maskingMode, 517: RequestClientReliableChannelBinder<IRequestSessionChannel> 520IChannelFactory<IRequestSessionChannel> factory, MaskingMode maskingMode, TolerateFaultsMode faultMode, 541protected override bool HasSecuritySession(IRequestSessionChannel channel)
System\ServiceModel\Channels\ReliableRequestSessionChannel.cs (1)
152if (typeof(T) == typeof(IRequestSessionChannel))
System\ServiceModel\Channels\ReliableSessionBindingElement.cs (10)
289if (context.CanBuildInnerChannelFactory<IRequestSessionChannel>()) 292new ReliableChannelFactory<TChannel, IRequestSessionChannel>( 293this, context.BuildInnerChannelFactory<IRequestSessionChannel>(), context.Binding); 329else if (typeof(TChannel) == typeof(IRequestSessionChannel)) 331if (context.CanBuildInnerChannelFactory<IRequestSessionChannel>()) 334new ReliableChannelFactory<TChannel, IRequestSessionChannel>( 335this, context.BuildInnerChannelFactory<IRequestSessionChannel>(), context.Binding); 355return context.CanBuildInnerChannelFactory<IRequestSessionChannel>() 365else if (typeof(TChannel) == typeof(IRequestSessionChannel)) 367return context.CanBuildInnerChannelFactory<IRequestSessionChannel>()
System\ServiceModel\Channels\SecurityBindingElement.cs (4)
381(SupportsRequestReply && (typeof(TChannel) == typeof(IRequestChannel) || typeof(TChannel) == typeof(IRequestSessionChannel))); 387|| context.CanBuildInnerChannelFactory<IRequestSessionChannel>() 394if (typeof(TChannel) == typeof(IRequestSessionChannel)) 396return (context.CanBuildInnerChannelFactory<IRequestChannel>() || context.CanBuildInnerChannelFactory<IRequestSessionChannel>());
System\ServiceModel\Channels\SecurityChannelFactory.cs (3)
170return (TChannel)(object)new SecurityRequestSessionChannel(this, SecurityProtocolFactory, ((IChannelFactory<IRequestSessionChannel>)InnerChannelFactory).CreateChannel(address, via), address, via); 490public SecurityRequestSessionChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory, IRequestSessionChannel innerChannel, EndpointAddress to, Uri via) 499return ((IRequestSessionChannel)InnerChannel).Session;
System\ServiceModel\Channels\ServiceChannelFactory.cs (14)
86return new ServiceChannelFactoryOverRequestSession(channelBuilder.BuildChannelFactory<IRequestSessionChannel>(), clientRuntime, channelBuilder.Binding, false); 149if (type == typeof(IRequestSessionChannel) && customBinding.CanBuildChannelFactory<IRequestSessionChannel>(parameters)) 151return new ServiceChannelFactoryOverRequestSession(customBinding.BuildChannelFactory<IRequestSessionChannel>(parameters), clientRuntime, binding, false); 175if (type == typeof(IRequestChannel) && customBinding.CanBuildChannelFactory<IRequestSessionChannel>(parameters)) 177return new ServiceChannelFactoryOverRequestSession(customBinding.BuildChannelFactory<IRequestSessionChannel>(parameters), clientRuntime, binding, true); 182if (type == typeof(IRequestSessionChannel) && customBinding.CanBuildChannelFactory<IRequestChannel>(parameters) 207if (customBinding.CanBuildChannelFactory<IRequestSessionChannel>(parameters)) 209supportedChannels.Add(typeof(IRequestSessionChannel), 0); 593|| typeof(TChannel) == typeof(IRequestSessionChannel)); 618|| typeof(TChannel) == typeof(IRequestSessionChannel) 623internal class ServiceChannelFactoryOverRequestSession : TypedServiceChannelFactory<IRequestSessionChannel> 627public ServiceChannelFactoryOverRequestSession(IChannelFactory<IRequestSessionChannel> innerChannelFactory, ClientRuntime clientRuntime, Binding binding, bool datagramAdapter) 648|| typeof(TChannel) == typeof(IRequestSessionChannel));
System\ServiceModel\Security\SecuritySessionClientSettings.cs (4)
262if (typeof(TChannel) == typeof(IRequestSessionChannel)) 513else if (channelBuilder.CanBuildChannelFactory<IRequestSessionChannel>()) 515ChannelBinder = ClientReliableChannelBinder<IRequestSessionChannel>.CreateBinder(RemoteAddress, Via, (IChannelFactory<IRequestSessionChannel>)(object)Settings.InnerChannelFactory,
System.ServiceModel.Primitives.Tests (4)
ServiceModel\ThrowingOnCloseBindingElement.cs (4)
148else if (typeof(TChannel) == typeof(IRequestSessionChannel)) 150return (TChannel)(object)new ThrowingRequestSessionChannel(this, _parent._exception, (IRequestSessionChannel)innerChannel); 233private readonly IRequestSessionChannel _innerSessionChannel; 236ThrowingChannelFactory<TChannel> factory, Exception exception, IRequestSessionChannel innerChannel)