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